DioDocs for PDF
CompactFonts メソッド

GrapeCity.Documents.Imaging アセンブリ > GrapeCity.Documents.Text 名前空間 > FontWriter クラス : CompactFonts メソッド
The list of source font subsets.
OUT: an array of indices mapping source font indices to merged font indices. 0 indicates non-merged fonts.
OUT: an array containing binary data of merged fonts. mergedFonts[0] is always null 参照 (Visual Basicでは Nothing).
Font serialization flags.
Merges matching TrueType font subsets and serializes the merged subsets to byte arrays.
シンタックス
'宣言
 
Public Function CompactFonts( _
   ByVal fonts As System.Collections.Generic.List(Of Font), _
   ByRef indices() As System.Integer, _
   ByRef mergedFonts() As System.Byte, _
   ByVal subsetFlags As FontSubsetFlags _
) As System.Boolean
public System.bool CompactFonts( 
   System.Collections.Generic.List<Font> fonts,
   out System.int[] indices,
   out System.byte[] mergedFonts,
   FontSubsetFlags subsetFlags
)

パラメータ

fonts
The list of source font subsets.
indices
OUT: an array of indices mapping source font indices to merged font indices. 0 indicates non-merged fonts.
mergedFonts
OUT: an array containing binary data of merged fonts. mergedFonts[0] is always null 参照 (Visual Basicでは Nothing).
subsetFlags
Font serialization flags.

戻り値の型

true if some fonts were merged, false otherwise.
参照

FontWriter クラス
FontWriter メンバ