'Declaration
Public Overloads Function EmbedFile( _ ByVal FilePath As String, _ ByVal Description As String _ ) As GdPictureStatus
public GdPictureStatus EmbedFile( string FilePath, string Description )
public function EmbedFile( FilePath: String; Description: String ): GdPictureStatus;
public function EmbedFile( FilePath : String, Description : String ) : GdPictureStatus;
public: GdPictureStatus EmbedFile( string* FilePath, string* Description )
public: GdPictureStatus EmbedFile( String^ FilePath, String^ Description )
Parameters
- FilePath
- The file path of the file to embed. Any kind of file, and any numbers of files, can be embedded into a PDF file.
- Description
- The verbal description of this attachment, for example, a purpose of embedding this file.
Return Value
A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.
We strongly recommend always checking this status first.