Namespace: BitMiracle.Docotic.Pdf.Layout
public TextStyle TextStyleWithFont( Stream stream, FontEmbedMode? embedMode = null )
Public Function TextStyleWithFont ( stream As Stream, Optional embedMode As FontEmbedMode? = Nothing ) As TextStyle
Exception | Condition |
---|---|
ArgumentNullException | stream is null. |
Caller of the method is responsible for disposing of the stream.
When embedMode is null the library embeds used glyphs for TrueType/OpenType fonts, does not embed built-in PDF fonts, and embeds all glyphs for Type1 and CFF fonts.