DrawLineTextureFromFile Method (GdPictureImaging)
Draws a textured line on a GdPicture image using a texture from a file.
public GdPictureStatus DrawLineTextureFromFile(
int ,
string ,
int ,
int ,
int ,
int ,
int ,
bool
)
public function DrawLineTextureFromFile(
: Integer;
: String;
: Integer;
: Integer;
: Integer;
: Integer;
: Integer;
: Boolean
): GdPictureStatus;
public function DrawLineTextureFromFile(
: int,
: String,
: int,
: int,
: int,
: int,
: int,
: boolean
) : GdPictureStatus;
public: GdPictureStatus DrawLineTextureFromFile(
int ,
string* ,
int ,
int ,
int ,
int ,
int ,
bool
)
public:
GdPictureStatus DrawLineTextureFromFile(
int ,
String^ ,
int ,
int ,
int ,
int ,
int ,
bool
)
'Declaration
Public Function DrawLineTextureFromFile( _
ByVal As Integer, _
ByVal As String, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Boolean _
) As GdPictureStatus
Parameters
- ImageID
- GdPicture image identifier.
- TextureFilePath
- The texture source file path. Can be an empty string. If empty, prompts the user to select a file. You can subsequently use the GetLastPath() method to retrieve the path of the selected file.
- SrcLeft
- Specifies the x-coordinate of the starting point of the line.
- SrcTop
- Specifies the y-coordinate of the starting point of the line.
- DstLeft
- Specifies the x-coordinate of the ending point of the line.
- DstTop
- Specifies the y-coordinate of the ending point of the line.
- PenWidth
- The width, in pixel, of the pen used to draw the line.
- AntiAlias
- Set to True to apply the Antialiasing algorithm else False.
Return Value
A member of the GdPictureStatus enumeration.