'Declaration
Public Function EmbedFont( _ ByVal inputWordFilePath As String, _ ByVal outputWordFilePath As String, _ ByVal fontName As String, _ ByVal fontFilePath As String, _ ByVal isBold As Boolean, _ ByVal isItalic As Boolean _ ) As GdPictureStatus
public GdPictureStatus EmbedFont( string inputWordFilePath, string outputWordFilePath, string fontName, string fontFilePath, bool isBold, bool isItalic )
public function EmbedFont( inputWordFilePath: String; outputWordFilePath: String; fontName: String; fontFilePath: String; isBold: Boolean; isItalic: Boolean ): GdPictureStatus;
public function EmbedFont( inputWordFilePath : String, outputWordFilePath : String, fontName : String, fontFilePath : String, isBold : boolean, isItalic : boolean ) : GdPictureStatus;
public: GdPictureStatus EmbedFont( string* inputWordFilePath, string* outputWordFilePath, string* fontName, string* fontFilePath, bool isBold, bool isItalic )
public: GdPictureStatus EmbedFont( String^ inputWordFilePath, String^ outputWordFilePath, String^ fontName, String^ fontFilePath, bool isBold, bool isItalic )
Parameters
- inputWordFilePath
- The file name of the input document.
- outputWordFilePath
- The file name of the output document, could be the same as the file name of the input document
- fontName
- The name of the font to embed.
- fontFilePath
- The file name of the font to embed
- isBold
- True if the font file is used for a Bold or BoldItalic requested font.
- isItalic
- True if the font file is used for a Italic or BoldItalic requested font.
Return Value
A member of the GdPictureStatus enumeration.If the method has been successfully followed, then the return value is GdPictureStatus.OK.