PDFSetTextFontAndSizeOperator¶
Namespace: O2S.Components.PDF4NET.Graphics.Operators
Defines the Tf (set font and size) content stream operator.
Inheritance Object → PDFContentStreamOperator → PDFSetTextFontAndSizeOperator
Constructors¶
PDFSetTextFontAndSizeOperator()¶
Initializes a new PDFSetTextFontAndSizeOperator object.
PDFSetTextFontAndSizeOperator(PDFCosName, Double)¶
Initializes a new PDFSetTextFontAndSizeOperator object.
Parameters
fontID PDFCosName
The form XObject ID in the /Resources dictionary.
fontSize Double
The font size.
Properties¶
Context¶
Gets the content stream container from which the operator is extracted.
Property Value
PDFContentStreamContainer
A content stream container object, a PDFPage or a PDFFormXObject.
Font¶
Gets the font object.
Property Value
PDFFont
The font that will be used to draw text.
FontID¶
Gets or sets the font ID.
Property Value
PDFCosName
The font ID in the /Resources dictionary.
FontSize¶
Gets or sets the font size.
Property Value
Double
The size of the font used to draw text.
OpCode¶
Gets the operator code.
Property Value
String
The operator code as it is written in the content stream.
Type¶
Gets or sets the operator type.
Property Value
PDFContentStreamOperatorType
The type of this operator.