cete.dynamicpdf.io.operatorwriter
OperatorWriter
- Namespace: ceTe.DynamicPDF.IO
- Assemblies: ceTe.DynamicPDF.40.dll
Class represents the PDF operators.
public abstract class OperatorWriter : Resource
Public MustInherit Class OperatorWriter
Inherits Resource
Inheritance: Object → Resource → OperatorWriter
Derived: PageWriter
Licensing
This class is a DynamicPDF Generator Professional Edition feature. One of the following licenses is required for non-evaluation usage:
- DynamicPDF Generator for .NET Professional Edition
- DynamicPDF Generator for .NET Enterprise Edition
- DynamicPDF Merger for .NET Professional Edition
- DynamicPDF Merger for .NET Enterprise Edition
- DynamicPDF ReportWriter for .NET Professional Edition
- DynamicPDF ReportWriter for .NET Enterprise Edition
- DynamicPDF Core Suite for .NET Professional Edition
- DynamicPDF Core Suite for .NET Enterprise Edition
Properties
Dimensions
Gets the dimensions of the current area.
public AreaDimensions Dimensions { get; }
Public Property Dimensions As AreaDimensions
Property Value
Document
Gets the Document object the page writer belongs to.
public Document Document { get; }
Public Property Document As Document
Property Value
DocumentWriter
Gets the DocumentWriter object the page writer is currently drawing to.
public DocumentWriter DocumentWriter { get; }
Public Property DocumentWriter As DocumentWriter
Property Value
RequiredPdfObjects
Gets the number of PDF objects required by the Symbol font.
public int RequiredPdfObjects { get; }
Public Property RequiredPdfObjects As Int32
Property Value
ResourceType
Gets the type of resource. (Inherited from Resource)
public ResourceType ResourceType { get; }
Public Property ResourceType As ResourceType
Property Value
Uid
Gets the unique ID of the resource. (Inherited from Resource)
public long Uid { get; }
Public Property Uid As Int64
Property Value
Methods
Draw(DocumentWriter)
Draws the resource to the given DocumentWriter object. (Inherited from Resource)
public abstract void Draw(DocumentWriter writer)
MustOverride Sub Draw(writer As DocumentWriter)
Parameters
- writer: DocumentWriter
DocumentWriter object to receive the resource's output.
Equals(Object)
Determines whether the specified Object is equal to the current Object . (Inherited from Object)
public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean
Parameters
- obj: Object
The Object to compare with the current Object .
Returns
true if the specified Object is equal to the current Object ; otherwise, false.
GetHashCode()
Serves as a hash function for a particular type. (Inherited from Object)
public int GetHashCode()
Function GetHashCode() As Integer
Returns
A hash code for the current Object .
GetType()
Gets the Type of the current instance. (Inherited from Object)
public Type GetType()
Function GetType() As Type
Returns
The Type instance that represents the exact runtime type of the current instance.
ResetDimensions()
Resets the coordinate space for the current area.
public void ResetDimensions()
Sub ResetDimensions()
SetCharacterSpacing(Single)
Sets the character spacing for text on the page.
public void SetCharacterSpacing(float characterSpacing)
Sub SetCharacterSpacing(characterSpacing As Single)
Parameters
- characterSpacing: Single
The character spacing of text.
SetDimensionsRotate(Single, Single, Single, Single, Single)
Transforms the coordinate space for the current area.
public void SetDimensionsRotate(float x, float y, float width, float height, float angle)
Sub SetDimensionsRotate(x As Single, y As Single, width As Single, height As Single, angle As Single)
Parameters
- x: Single
The x coordinate of the area.
- y: Single
The y coordinate of the area.
- width: Single
The width of the area.
- height: Single
The height of the area.
- angle: Single
The angle coordinate of the area.
Remarks
You must call ResetDimensions once you are done using the transformed coordinate space.
SetDimensionsRotate(Single, Single, Single, Single, Single, Single, Single, Single)
Transforms the coordinate space for the current area.
public void SetDimensionsRotate(float x, float y, float width, float height, float xX, float xY, float yX, float yY)
Sub SetDimensionsRotate(x As Single, y As Single, width As Single, height As Single, xX As Single, xY As Single, yX As Single, yY As Single)
Parameters
- x: Single
The x coordinate of the area.
- y: Single
The y coordinate of the area.
- width: Single
The width of the area.
- height: Single
The height of the area.
- xX: Single
The XX value of the angle of the area.
- xY: Single
The XY value of the angle of the area.
- yX: Single
The YX value of the angle of the area.
- yY: Single
The YY value of the angle of the area.
Remarks
You must call ResetDimensions once you are done using the transformed coordinate space.
SetDimensionsScale(Single, Single, Single, Single, Single, Single)
Transforms the coordinate space for the current area.
public void SetDimensionsScale(float x, float y, float width, float height, float scaleX, float scaleY)
Sub SetDimensionsScale(x As Single, y As Single, width As Single, height As Single, scaleX As Single, scaleY As Single)
Parameters
- x: Single
The x coordinate of the area.
- y: Single
The y coordinate of the area.
- width: Single
The width of the area.
- height: Single
The height of the area.
- scaleX: Single
The x scale of the area.
- scaleY: Single
The y scale of the area.
Remarks
You must call ResetDimensions once you are done using the transformed coordinate space.
SetDimensionsShift(Single, Single, Single, Single)
Transforms the coordinate space for the current area.
public void SetDimensionsShift(float x, float y, float width, float height)
Sub SetDimensionsShift(x As Single, y As Single, width As Single, height As Single)
Parameters
- x: Single
The x coordinate of the area.
- y: Single
The y coordinate of the area.
- width: Single
The width of the area.
- height: Single
The height of the area.
Remarks
You must call ResetDimensions once you are done using the transformed coordinate space.
SetDimensionsSimpleRotate(Single, Single, Single)
Transforms the coordinate space for the current area.
public void SetDimensionsSimpleRotate(float x, float y, float angle)
Sub SetDimensionsSimpleRotate(x As Single, y As Single, angle As Single)
Parameters
- x: Single
The x coordinate of the area.
- y: Single
The y coordinate of the area.
- angle: Single
The angle coordinate of the area.
Remarks
You must call ResetDimensions once you are done using the transformed coordinate space.
SetDimensionsSimpleRotate(Single, Single, Single, Single, Single, Single)
Transforms the coordinate space for the current area.
public void SetDimensionsSimpleRotate(float x, float y, float xX, float xY, float yX, float yY)
Sub SetDimensionsSimpleRotate(x As Single, y As Single, xX As Single, xY As Single, yX As Single, yY As Single)
Parameters
- x: Single
The x coordinate of the area.
- y: Single
The y coordinate of the area.
- xX: Single
The XX value of the angle of the area.
- xY: Single
The XY value of the angle of the area.
- yX: Single
The YX value of the angle of the area.
- yY: Single
The YY value of the angle of the area.
Remarks
You must call ResetDimensions once you are done using the transformed coordinate space.
SetDimensionsTransform(Single, Single, Single, Single, Single, Single, Single)
Transforms the coordinate space for the current area.
public void SetDimensionsTransform(float x, float y, float width, float height, float angle, float scaleX, float scaleY)
Sub SetDimensionsTransform(x As Single, y As Single, width As Single, height As Single, angle As Single, scaleX As Single, scaleY As Single)
Parameters
- x: Single
The x coordinate of the area.
- y: Single
The y coordinate of the area.
- width: Single
The width of the area.
- height: Single
The height of the area.
- angle: Single
The angle coordinate of the area.
- scaleX: Single
The x scale of the area.
- scaleY: Single
The y scale of the area.
Remarks
You must call ResetDimensions once you are done using the transformed coordinate space.
SetDimensionsTransform(Single, Single, Single, Single, Single, Single, Single, Single, Single, Single)
Transforms the coordinate space for the current area.
public void SetDimensionsTransform(float x, float y, float width, float height, float xX, float xY, float yX, float yY, float scaleX, float scaleY)
Sub SetDimensionsTransform(x As Single, y As Single, width As Single, height As Single, xX As Single, xY As Single, yX As Single, yY As Single, scaleX As Single, scaleY As Single)
Parameters
- x: Single
The x coordinate of the area.
- y: Single
The y coordinate of the area.
- width: Single
The width of the area.
- height: Single
The height of the area.
- xX: Single
The XX value of the angle of the area.
- xY: Single
The XY value of the angle of the area.
- yX: Single
The YX value of the angle of the area.
- yY: Single
The YY value of the angle of the area.
- scaleX: Single
The x scale of the area.
- scaleY: Single
The y scale of the area.
Remarks
You must call ResetDimensions once you are done using the transformed coordinate space.
SetFillColor(Color)
Sets the fill color for the page.
public void SetFillColor(Color color)
Sub SetFillColor(color As Color)
Parameters
- color: Color
The Color to set.
SetFont(Font, Single)
Sets the font and font size for text on the page.
public void SetFont(Font font, float fontSize)
Sub SetFont(font As Font, fontSize As Single)
Parameters
- font: Font
The Font to set.
- fontSize: Single
The font size to set.
SetGraphicsMode()
Sets the page to graphics mode.
public void SetGraphicsMode()
Sub SetGraphicsMode()
SetHorizontalScaling(Single)
Sets the horizontal scaling for text on the page.
public void SetHorizontalScaling(float horizontalScaling)
Sub SetHorizontalScaling(horizontalScaling As Single)
Parameters
- horizontalScaling: Single
The horizontal scaling of text.
SetLeading(Single)
Sets the leading for text on the page.
public void SetLeading(float leading)
Sub SetLeading(leading As Single)
Parameters
- leading: Single
The leading value to set.
SetLineCap(LineCap)
Sets the line cap style for paths on the page.
public void SetLineCap(LineCap lineCap)
Sub SetLineCap(lineCap As LineCap)
Parameters
- lineCap: LineCap
The line cap style to set.
SetLineJoin(LineJoin)
Sets the line join style for paths on the page.
public void SetLineJoin(LineJoin lineJoin)
Sub SetLineJoin(lineJoin As LineJoin)
Parameters
- lineJoin: LineJoin
The line join style to set.
SetLineStyle(LineStyle)
Sets the line style for the page.
public void SetLineStyle(LineStyle lineStyle)
Sub SetLineStyle(lineStyle As LineStyle)
Parameters
- lineStyle: LineStyle
The line style to set.
SetLineWidth(Single)
Sets the line width for the page.
public void SetLineWidth(float lineWidth)
Sub SetLineWidth(lineWidth As Single)
Parameters
- lineWidth: Single
The width of the line.
SetMiterLimit(Single)
Sets the miterLimit for paths on the page.
public void SetMiterLimit(float miterLimit)
Sub SetMiterLimit(miterLimit As Single)
Parameters
- miterLimit: Single
The miter limit to set.
SetStrokeColor(Color)
Sets the stoke color for the page.
public void SetStrokeColor(Color color)
Sub SetStrokeColor(color As Color)
Parameters
- color: Color
The Color to set.
SetTextDefaults()
Sets the text properties render mode, character space, word space, horizontal scale, and text rise to the defaults.
public void SetTextDefaults()
Sub SetTextDefaults()
SetTextMode()
Sets the page to text mode.
public void SetTextMode()
Sub SetTextMode()
SetTextRenderingMode(TextRenderingMode)
Sets text rendering mode for text on the page.
public void SetTextRenderingMode(TextRenderingMode textRenderingMode)
Sub SetTextRenderingMode(textRenderingMode As TextRenderingMode)
Parameters
- textRenderingMode: TextRenderingMode
The text rendering mode of text.
SetTextRise(Single)
Sets text rise for text on the page.
public void SetTextRise(float textRise)
Sub SetTextRise(textRise As Single)
Parameters
- textRise: Single
The text rise of text.
SetWordSpacing(Single)
Sets the word spacing for text on the page.
public void SetWordSpacing(float wordSpacing)
Sub SetWordSpacing(wordSpacing As Single)
Parameters
- wordSpacing: Single
The word spacing of text.
ToString()
Returns a String that represents the current Object . (Inherited from Object)
public string ToString()
Function ToString() As String
Returns
A String that represents the current Object .
Write(Byte[])
Writes a byte array to the page.
public void Write(Byte[] data)
Sub Write(data As Byte())
Parameters
- data: Byte[]
The byte array to output.
Write(Byte[], Int32)
Writes a portion of a byte array to the page.
public void Write(Byte[] data, int length)
Sub Write(data As Byte(), length As Integer)
Parameters
- data: Byte[]
The byte array to output.
- length: Int32
The length to output.
Write(Byte[], Int32, Int32)
Writes a portion of a byte array to the page.
public void Write(Byte[] data, int start, int length)
Sub Write(data As Byte(), start As Integer, length As Integer)
Parameters
- data: Byte[]
The byte array to output.
- start: Int32
The start index of source.
- length: Int32
The length to output.
Write(Int32)
Writes an integer to the page.
public void Write(int value)
Sub Write(value As Integer)
Parameters
- value: Int32
Number to write.
Write(Single)
Writes a floating point number to the page.
public void Write(float value)
Sub Write(value As Single)
Parameters
- value: Single
Number to write.
WriteColorValue(Byte)
Writes an color value to the page.
public void WriteColorValue(byte value)
Sub WriteColorValue(value As Byte)
Parameters
- value: Byte
The color value to write.
WriteName(Byte)
Writes a byte to the page.
public void WriteName(byte name)
Sub WriteName(name As Byte)
Parameters
- name: Byte
Byte to output to the page.
WriteName(Byte[])
Writes a byte array to the page.
public void WriteName(Byte[] name)
Sub WriteName(name As Byte())
Parameters
- name: Byte[]
Byte array to output to the page.
WriteNewLine()
Writes a new line to the page.
public void WriteNewLine()
Sub WriteNewLine()
WritePair(Single, Single)
Writes a pair of numbers to the page.
public void WritePair(float value1, float value2)
Sub WritePair(value1 As Single, value2 As Single)
Parameters
- value1: Single
First number to write.
- value2: Single
Second number to write.
WritePoint(Single, Single)
Writes a point to the page adjusted to PDF coordinates.
public void WritePoint(float pointX, float pointY)
Sub WritePoint(pointX As Single, pointY As Single)
Parameters
- pointX: Single
X coordinate of point.
- pointY: Single
Y coordinate of point.
WritePointX(Single)
Writes an X coordinate to the page adjusted to the PDF coordinate.
public void WritePointX(float pointX)
Sub WritePointX(pointX As Single)
Parameters
- pointX: Single
X coordinate to write.
WritePointY(Single)
Writes an X coordinate to the page adjusted to the PDF coordinate.
public void WritePointY(float pointY)
Sub WritePointY(pointY As Single)
Parameters
- pointY: Single
Y coordinate to write.
WriteSpace()
Writes a space to the page.
public void WriteSpace()
Sub WriteSpace()
Write_B()
Writes a PDF "B" operator to the page.
public void Write_B()
Sub Write_B()
Write_BI()
Writes a PDF "BI" operator to the page.
public void Write_BI()
Sub Write_BI()
Write_BT()
Writes a PDF "BT" operator to the page.
public void Write_BT()
Sub Write_BT()
Write_Bx()
Writes a PDF "B*" operator to the page.
public void Write_Bx()
Sub Write_Bx()
Write_bx_()
Writes a PDF "b*" operator to the page.
public void Write_bx_()
Sub Write_bx_()
Write_b_()
Writes a PDF "b" operator to the page.
public void Write_b_()
Sub Write_b_()
Write_c(Single, Single, Single, Single, Single, Single)
Writes a PDF "c" operator to the page.
public void Write_c(float x1, float y1, float x2, float y2, float x3, float y3)
Sub Write_c(x1 As Single, y1 As Single, x2 As Single, y2 As Single, x3 As Single, y3 As Single)
Parameters
- x1: Single
The X1 coordinate to draw.
- y1: Single
The Y1 coordinate to draw.
- x2: Single
The X2 coordinate to draw.
- y2: Single
The Y2 coordinate to draw.
- x3: Single
The X3 coordinate to draw.
- y3: Single
The Y3 coordinate to draw.
Write_cm(Single)
Writes a PDF "cm" operator to the page.
public void Write_cm(float angle)
Sub Write_cm(angle As Single)
Parameters
- angle: Single
The angle to draw.
Write_cm(Single, Single)
Writes a PDF "cm" operator to the page.
public void Write_cm(float xOffset, float yOffset)
Sub Write_cm(xOffset As Single, yOffset As Single)
Parameters
- xOffset: Single
The X offset to draw.
- yOffset: Single
The U offset to draw.
Write_cm(Single, Single, Single)
Writes a PDF "cm" operator to the page.
public void Write_cm(float angle, float xOffset, float yOffset)
Sub Write_cm(angle As Single, xOffset As Single, yOffset As Single)
Parameters
- angle: Single
The angle to draw.
- xOffset: Single
The X offset to draw.
- yOffset: Single
The Y offset to draw.
Write_cm(Single, Single, Single, Single)
Writes a PDF "cm" operator to the page.
public void Write_cm(float xX, float xY, float yX, float yY)
Sub Write_cm(xX As Single, xY As Single, yX As Single, yY As Single)
Parameters
- xX: Single
The X X multiple to draw.
- xY: Single
The X Y multiple to draw.
- yX: Single
The Y X multiple to draw.
- yY: Single
The Y Y multiple to draw.
Write_cm(Single, Single, Single, Single, Single, Single)
Writes a PDF "cm" operator to the page.
public void Write_cm(float a, float b, float c, float d, float e, float f)
Sub Write_cm(a As Single, b As Single, c As Single, d As Single, e As Single, f As Single)
Parameters
- a: Single
The A value to draw.
- b: Single
The B value to draw.
- c: Single
The C value to draw.
- d: Single
The D value to draw.
- e: Single
The E value to draw.
- f: Single
The F value to draw.
Write_d(Int32, Int32)
Writes a PDF "d" operator to the page.
public void Write_d(int on, int off)
Sub Write_d(on As Integer, off As Integer)
Parameters
Write_d(LineStyle)
Writes a PDF "d" operator to the page.
public void Write_d(LineStyle lineStyle)
Sub Write_d(lineStyle As LineStyle)
Parameters
- lineStyle: LineStyle
The line style to draw.
Write_Do(Resource)
Abstract method for writing "DO" operator to the page.
public abstract void Write_Do(Resource xObject)
MustOverride Sub Write_Do(xObject As Resource)
Parameters
- xObject: Resource
Reference of type Resource .
Write_DQuote(Single, Single, Char[], Int32, Int32, Boolean)
Writes a PDF Double Quote (""") operator to the page.
public void Write_DQuote(float wordSpacing, float characterSpacing, Char[] textArray, int start, int length, bool rightToLeft)
Sub Write_DQuote(wordSpacing As Single, characterSpacing As Single, textArray As Char[], start As Integer, length As Integer, rightToLeft As Boolean)
Parameters
- wordSpacing: Single
Word spacing to draw.
- characterSpacing: Single
The character spacing to draw.
- textArray: Char[]
The byte array of WINANSI text to draw.
- start: Int32
The start position of text.
- length: Int32
The number of characters to draw.
- rightToLeft: Boolean
Specifies if the text is to be drawn right to left.
Write_EI()
Writes a PDF "EI" operator to the page.
public void Write_EI()
Sub Write_EI()
Write_ET()
Writes a PDF "ET" operator to the page.
public void Write_ET()
Sub Write_ET()
Write_f()
Writes a PDF "f" operator to the page.
public void Write_f()
Sub Write_f()
Write_fx()
Writes a PDF "f*" operator to the page.
public void Write_fx()
Sub Write_fx()
Write_G(Grayscale)
Writes a PDF "G" operator to the page.
public void Write_G(Grayscale color)
Sub Write_G(color As Grayscale)
Parameters
- color: Grayscale
The Grayscale color to draw.
Write_g_(Grayscale)
Writes a PDF "g" operator to the page.
public void Write_g_(Grayscale color)
Sub Write_g_(color As Grayscale)
Parameters
- color: Grayscale
The `` color to draw.
Write_h()
Writes a PDF "h" operator to the page.
public void Write_h()
Sub Write_h()
Write_ID()
Writes a PDF "ID" operator to the page.
public void Write_ID()
Sub Write_ID()
Write_J(LineCap)
Writes a PDF "J" operator to the page.
public void Write_J(LineCap lineCap)
Sub Write_J(lineCap As LineCap)
Parameters
- lineCap: LineCap
The line cap style to draw.
Write_j_(LineJoin)
Writes a PDF "j" operator to the page.
public void Write_j_(LineJoin lineJoin)
Sub Write_j_(lineJoin As LineJoin)
Parameters
- lineJoin: LineJoin
The line join style to draw.
Write_K(CmykColor)
Writes a PDF "K" operator to the page.
public void Write_K(CmykColor color)
Sub Write_K(color As CmykColor)
Parameters
- color: CmykColor
The CmykColor to draw.
Write_k_(CmykColor)
Writes a PDF "k" operator to the page.
public void Write_k_(CmykColor color)
Sub Write_k_(color As CmykColor)
Parameters
- color: CmykColor
The CmykColor to draw.
Write_l_(Single, Single)
Writes a PDF "l" operator to the page.
public void Write_l_(float x, float y)
Sub Write_l_(x As Single, y As Single)
Parameters
- x: Single
The X coordinate to draw.
- y: Single
The y coordinate to draw.
Write_M(Single)
Writes a PDF "M" operator to the page.
public void Write_M(float miterLimit)
Sub Write_M(miterLimit As Single)
Parameters
- miterLimit: Single
The miter limit to draw.
Write_m_(Single, Single)
Writes a PDF "m" operator to the page.
public void Write_m_(float x, float y)
Sub Write_m_(x As Single, y As Single)
Parameters
- x: Single
The X coordinate to draw.
- y: Single
The Y coordinate to draw.
Write_n()
Writes a PDF "n" operator to the page.
public void Write_n()
Sub Write_n()
Write_Q()
Writes a PDF "Q" operator to the page. PageWriterState is not restored.
public void Write_Q()
Sub Write_Q()
Write_Q(Boolean)
Writes a PDF "G" operator to the page.
public void Write_Q(bool restoreState)
Sub Write_Q(restoreState As Boolean)
Parameters
- restoreState: Boolean
true if the PageWriterState should be restored from a previous "q" operator.
Write_q_()
Writes a PDF "q" operator to the page. PageWriterState is not stored.
public void Write_q_()
Sub Write_q_()
Write_q_(Boolean)
Writes a PDF "q" operator to the page.
public void Write_q_(bool storeState)
Sub Write_q_(storeState As Boolean)
Parameters
- storeState: Boolean
true if the PageWriterState should be stored for later retrieval by a "Q" operator.
Write_re(Single, Single, Single, Single)
Writes a PDF "re" operator to the page.
public void Write_re(float x, float y, float width, float height)
Sub Write_re(x As Single, y As Single, width As Single, height As Single)
Parameters
- x: Single
The X coordinate to draw.
- y: Single
The Y coordinate to draw.
- width: Single
The width to draw.
- height: Single
The height to draw.
Write_RG(RgbColor)
Writes a PDF "RG" operator to the page.
public void Write_RG(RgbColor color)
Sub Write_RG(color As RgbColor)
Parameters
- color: RgbColor
The RgbColor to draw.
Write_rg_(RgbColor)
Writes a PDF "rg" operator to the page.
public void Write_rg_(RgbColor color)
Sub Write_rg_(color As RgbColor)
Parameters
- color: RgbColor
The RgbColor to draw.
Write_S()
Writes a PDF "S" operator to the page.
public void Write_S()
Sub Write_S()
Write_SQuote(Char[], Int32, Int32, Boolean)
Writes a PDF Single Quote ("'") operator to the page.
public void Write_SQuote(Char[] textArray, int start, int length, bool rightToLeft)
Sub Write_SQuote(textArray As Char[], start As Integer, length As Integer, rightToLeft As Boolean)
Parameters
- textArray: Char[]
The byte array of WINANSI text to draw.
- start: Int32
The start position of text.
- length: Int32
The number of characters to draw.
- rightToLeft: Boolean
Specifies if the text is to be drawn right to left.
Write_s_()
Writes a PDF "s" operator to the page.
public void Write_s_()
Sub Write_s_()
Write_Tc(Single)
Writes a PDF "Tc" operator to the page.
public void Write_Tc(float characterSpacing)
Sub Write_Tc(characterSpacing As Single)
Parameters
- characterSpacing: Single
The character spacing to draw.
Write_TD(Single, Single)
Writes a PDF "TD" operator to the page.
public void Write_TD(float x, float y)
Sub Write_TD(x As Single, y As Single)
Parameters
- x: Single
The X coordinate to draw.
- y: Single
The Y coordinate to draw.
Write_Td_(Single, Single)
Writes a PDF "Td" operator to the page.
public void Write_Td_(float x, float y)
Sub Write_Td_(x As Single, y As Single)
Parameters
- x: Single
The X coordinate to draw.
- y: Single
The Y coordinate to draw.
Write_Tf(Font, Single)
Writes a PDF "Tf" operator to the page.
public abstract void Write_Tf(Font font, float fontSize)
MustOverride Sub Write_Tf(font As Font, fontSize As Single)
Parameters
- font: Font
The Font to draw.
- fontSize: Single
The font size to draw.
Write_TJ(Char[], Int32, Int32, Single, Boolean)
Writes a PDF "TJ" operator to the page.
public void Write_TJ(Char[] textArray, int start, int length, float wordSpacing, bool rightToLeft)
Sub Write_TJ(textArray As Char[], start As Integer, length As Integer, wordSpacing As Single, rightToLeft As Boolean)
Parameters
- textArray: Char[]
The byte array of WINANSI text to draw.
- start: Int32
Start position of text.
- length: Int32
The number of characters to draw.
- wordSpacing: Single
Word spacing to use when drawn.
- rightToLeft: Boolean
Specifies if the text is to be drawn right to left.
Write_Tj_(Char[], Boolean)
Writes a PDF "Tj" operator to the page.
public void Write_Tj_(Char[] text, bool rightToLeft)
Sub Write_Tj_(text As Char[], rightToLeft As Boolean)
Parameters
- text: Char[]
The byte array of WINANSI text to draw.
- rightToLeft: Boolean
Specifies if the text is to be drawn right to left.
Write_Tj_(Char[], Int32, Int32, Boolean)
Writes a PDF "Tj" operator to the page.
public void Write_Tj_(Char[] textArray, int start, int length, bool rightToLeft)
Sub Write_Tj_(textArray As Char[], start As Integer, length As Integer, rightToLeft As Boolean)
Parameters
- textArray: Char[]
The byte array of WINANSI text to draw.
- start: Int32
The start position of text.
- length: Int32
The number of characters to draw.
- rightToLeft: Boolean
Specifies if the text is to be drawn right to left.
Write_TJ_Close()
Closes the opened TJ array.
public void Write_TJ_Close()
Sub Write_TJ_Close()
Write_TJ_Open()
Opens array for writting TJ operator.
public void Write_TJ_Open()
Sub Write_TJ_Open()
Write_TJ_SpaceLength(Int32)
Writes Space length in between two chars.
public void Write_TJ_SpaceLength(int spaceLength)
Sub Write_TJ_SpaceLength(spaceLength As Integer)
Parameters
- spaceLength: Int32
Space length in between two chars.
Write_TJ_Text(Char[], Int32, Int32, Boolean)
Writes the given text inside the TJ array. Required to open TJ array.
public void Write_TJ_Text(Char[] text, int startIndex, int length, bool rightToLeft)
Sub Write_TJ_Text(text As Char[], startIndex As Integer, length As Integer, rightToLeft As Boolean)
Parameters
- text: Char[]
Char array that need to write.
- startIndex: Int32
Zero based offset denoting starting position of the text.
- length: Int32
The number of characters to draw.
- rightToLeft: Boolean
Specifies if the text is to be drawn right to left.
Write_TL(Single)
Writes a PDF "TL" operator to the page.
public void Write_TL(float leading)
Sub Write_TL(leading As Single)
Parameters
- leading: Single
The leading to draw.
Write_Tm(Single, Single)
Writes a PDF "Tm" operator to the page.
public void Write_Tm(float x, float y)
Sub Write_Tm(x As Single, y As Single)
Parameters
- x: Single
The X coordinate to draw.
- y: Single
The Y coordinate to draw.
Write_Tm(Single, Single, Single)
Writes a PDF "Tm" operator to the page.
public void Write_Tm(float angle, float x, float y)
Sub Write_Tm(angle As Single, x As Single, y As Single)
Parameters
- angle: Single
The angle to draw.
- x: Single
The X coordinate to draw.
- y: Single
The Y coordinate to draw.
Write_Tm(Single, Single, Single, Single)
Writes a PDF "Tm" operator to the page.
public void Write_Tm(float xX, float xY, float yX, float yY)
Sub Write_Tm(xX As Single, xY As Single, yX As Single, yY As Single)
Parameters
- xX: Single
The X X multiple to draw.
- xY: Single
The X Y multiple to draw.
- yX: Single
The Y X multiple to draw.
- yY: Single
The Y Y multiple to draw.
Write_Tm(Single, Single, Single, Single, Single, Single)
Writes a PDF "Tm" operator to the page.
public void Write_Tm(float a, float b, float c, float d, float x, float y)
Sub Write_Tm(a As Single, b As Single, c As Single, d As Single, x As Single, y As Single)
Parameters
- a: Single
The A value to draw.
- b: Single
The B value to draw.
- c: Single
The C value to draw.
- d: Single
The D value to draw.
- x: Single
The X coordinate to draw.
- y: Single
The Y coordinate to draw.
Write_Tr(TextRenderingMode)
Writes a PDF "Tr" operator to the page.
public void Write_Tr(TextRenderingMode renderingMode)
Sub Write_Tr(renderingMode As TextRenderingMode)
Parameters
- renderingMode: TextRenderingMode
The text render mode to draw.
Write_Ts(Single)
Writes a PDF "Ts" operator to the page.
public void Write_Ts(float textRise)
Sub Write_Ts(textRise As Single)
Parameters
- textRise: Single
The text rise to draw.
Write_Tw(Single)
Writes a PDF "Tw" operator to the page.
public void Write_Tw(float wordSpacing)
Sub Write_Tw(wordSpacing As Single)
Parameters
- wordSpacing: Single
The word spacing to draw.
Write_Tx()
Writes a PDF "Tx" operator to the page.
public void Write_Tx()
Sub Write_Tx()
Write_Tz(Single)
Writes a PDF "Tz" operator to the page.
public void Write_Tz(float horizontalScaling)
Sub Write_Tz(horizontalScaling As Single)
Parameters
- horizontalScaling: Single
The horizontal spacing to draw.
Write_v(Single, Single, Single, Single)
Writes a PDF "v" operator to the page.
public void Write_v(float x2, float y2, float x3, float y3)
Sub Write_v(x2 As Single, y2 As Single, x3 As Single, y3 As Single)
Parameters
- x2: Single
The X2 coordinate to draw.
- y2: Single
The Y2 coordinate to draw.
- x3: Single
The X3 coordinate to draw.
- y3: Single
The Y3 coordinate to draw.
Write_W()
Writes a PDF "W" operator to the page.
public void Write_W()
Sub Write_W()
Write_Wx()
Writes a PDF "W*" operator to the page.
public void Write_Wx()
Sub Write_Wx()
Write_w_(Single)
Writes a PDF "w" operator to the page.
public void Write_w_(float lineWidth)
Sub Write_w_(lineWidth As Single)
Parameters
- lineWidth: Single
The line width to draw.
Write_y(Single, Single, Single, Single)
Writes a PDF "y" operator to the page.
public void Write_y(float x1, float y1, float x3, float y3)
Sub Write_y(x1 As Single, y1 As Single, x3 As Single, y3 As Single)
Parameters
- x1: Single
The X1 coordinate to draw.
- y1: Single
The Y1 coordinate to draw.
- x3: Single
The X3 coordinate to draw.
- y3: Single
The Y3 coordinate to draw.