PdfContents Class

PDF File Writer

PdfContents Class

PDF contents class
Inheritance Hierarchy
SystemObject  PdfFileWriterPdfObject
    PdfFileWriterPdfContents
      PdfFileWriterPdfTilingPattern
      PdfFileWriterPdfXObject

Namespace:  PdfFileWriter
Assembly:  PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)
Syntax
C#
public class PdfContents : PdfObject

The PdfContents type exposes the following members.

Constructors
  NameDescription
Public methodPdfContents(PdfDocument)
PdfContents constructor unattached
Public methodPdfContents(PdfPage)
PdfContents constructor for page contents
Top
Properties
  NameDescription
Public propertyDocument
PDF document object
(Inherited from PdfObject.)
Public propertyScaleFactor
Scale factor
(Inherited from PdfObject.)
Top
Methods
  NameDescription
Public methodBeginTextMode
Begin text mode
Public methodClipText
Clip text exposing area underneath
Public methodCommitToPdfFile
Commit object to PDF file
Public methodCompareTo
Compare the resource codes of two PDF objects.
(Inherited from PdfObject.)
Public methodDrawArc
Draw arc
Public methodDrawBarcode(Double, Double, Double, Double, Barcode, PdfFont, Double)
Draw barcode
Public methodDrawBarcode(Double, Double, TextJustify, Double, Double, Barcode, PdfFont, Double)
Draw barcode
Public methodDrawBarcode(Double, Double, TextJustify, Double, Double, Color, Barcode, PdfFont, Double)
Draw barcode
Public methodDrawBezier(BezierD, BezierPointOne)
Draw Bezier cubic path
Public methodDrawBezier(PointD, PointD, PointD)
Draw Bezier cubic path
Public methodDrawBezier(Double, Double, Double, Double, Double, Double)
Draw Bezier cubic path
Public methodDrawBezierNoP1(PointD, PointD)
Draw Bezier cubic path (P1 is the same as current point)
Public methodDrawBezierNoP1(Double, Double, Double, Double)
Draw Bezier cubic path (P1 is the same as current point)
Public methodDrawBezierNoP2(PointD, PointD)
Draw Bezier cubic path (P2 is the same as P3)
Public methodDrawBezierNoP2(Double, Double, Double, Double)
Draw Bezier cubic path (P2 is the same as P3)
Public methodDrawChart(PdfChart, Double, Double, Boolean, Boolean)
Draw chart
Public methodDrawChart(PdfChart, Double, Double, Double, Double, Boolean, Boolean)
Draw chart
Public methodDrawDoubleBezierPath
Draw double Bezier path
Public methodDrawHeart(LineD, PaintOp)
Draw heart
Public methodDrawHeart(Double, Double, Double, Double, PaintOp)
Draw heart
Public methodDrawImage(PdfImage, Double, Double, Double)
Draw image (Height is calculated from width as per aspect ratio)
Public methodDrawImage(PdfImage, Double, Double, Double, Double)
Draw image
Public methodDrawInwardCornerRectangle
Draw Rectangle with Inward Corners
Public methodDrawLine(LineD)
Draw line
Public methodDrawLine(LineD, Double)
Draw line with given line width
Public methodDrawLine(PointD, PointD)
Draw line
Public methodDrawLine(PointD, PointD, Double)
Draw line with given line width
Public methodDrawLine(Double, Double, Double, Double)
Draw line
Public methodDrawLine(Double, Double, Double, Double, PdfTableBorderStyle)
Draw border line
Public methodDrawLine(Double, Double, Double, Double, Double)
Draw line with given line width
Public methodDrawOval(PointD, SizeD, PaintOp)
Draw oval
Public methodDrawOval(Double, Double, Double, Double, PaintOp)
Draw oval
Public methodDrawPolygon(PointF, PaintOp)
Draw polygon
Public methodDrawPolygon(Single, PaintOp)
Draw polygon
Public methodDrawRectangle(PointD, SizeD, PaintOp)
Draw rectangle
Public methodDrawRectangle(Double, Double, Double, Double, PaintOp)
Draw Rectangle
Public methodDrawRegularPolygon(PointD, Double, Double, Int32, PaintOp)
Draw regular polygon
Public methodDrawRegularPolygon(Double, Double, Double, Double, Int32, PaintOp)
Draw regular polygon
Public methodDrawRoundedRectangle(PointD, SizeD, Double, PaintOp)
Draw Rounded Rectangle
Public methodDrawRoundedRectangle(Double, Double, Double, Double, Double, PaintOp)
Draw Rounded Rectangle
Public methodDrawShading(PdfAxialShading)
Draw axial shading pattern
Public methodDrawShading(PdfRadialShading)
Draw radial shading pattern
Public methodDrawStar(PointD, Double, Double, Int32, PaintOp)
Draw star
Public methodDrawStar(Double, Double, Double, Double, Int32, PaintOp)
Draw star
Public methodDrawStar(PointD, Double, Double, Double, Int32, PaintOp)
Draw star
Public methodDrawStar(Double, Double, Double, Double, Double, Int32, PaintOp)
Draw star
Public methodDrawText(PdfFont, Double, String)
Draw text
Public methodDrawText(PdfFont, Double, Double, Double, KerningAdjust)
Draw text with kerning array
Public methodDrawText(PdfFont, Double, Double, Double, String)
Draw one line of text left justified
Public methodDrawText(Double, Double, Double, Int32, TextBox, PdfPage)
Draw TextBox
Public methodDrawText(PdfFont, Double, Double, Double, DrawStyle, String)
Draw one line of text width draw style
Public methodDrawText(PdfFont, Double, Double, Double, TextJustify, String)
Draw one line of text
Public methodDrawText(PdfFont, Double, Double, Double, Color, String)
Draw one line of text with a given color
Public methodDrawText(PdfFont, Double, Double, Double, TextJustify, DrawStyle, Color, String)
Draw one line of text with text justification, drawing style and color
Public methodDrawText(Double, Double, Double, Int32, Double, Double, TextBoxJustify, TextBox, PdfPage)
Draw TextBox
Public methodDrawText(PdfFont, Double, Double, Double, TextJustify, Double, Color, Color, String)
Draw text with special effects
Public methodDrawTextWithAnnotation(PdfPage, PdfFont, Double, Double, Double, String, AnnotAction)
Draw text with annotation action
Public methodDrawTextWithAnnotation(PdfPage, PdfFont, Double, Double, Double, TextJustify, DrawStyle, Color, String, AnnotAction)
Draw text with annotation action
Public methodDrawTextWithKerning
Draw text with kerning
Public methodDrawWebLink(PdfPage, PdfFont, Double, Double, Double, String, String)
Draw web link with one line of text
Public methodDrawWebLink(PdfPage, PdfFont, Double, Double, Double, TextJustify, DrawStyle, Color, String, String)
Draw web link with one line of text
Public methodDrawWPFPath
Draw WPF path
Public methodDrawXObject(PdfXObject)
Draw X Object
Public methodDrawXObject(PdfXObject, Double, Double)
Draw X Object
Public methodDrawXObject(PdfXObject, Double, Double, Double, Double)
Draw X Object
Public methodDrawXObject(PdfXObject, Double, Double, Double, Double, Double)
Draw X Object
Public methodEndTextMode
End text mode
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGrayLevelNonStroking
Set gray level for non stroking (fill or brush) operations
Public methodGrayLevelStroking
Set gray level for stroking (outline or pen) operations
Public methodLayerEnd
Layer end
Public methodLayerStart
Layer start
Public methodLineTo(PointD)
Draw line from last position to new position
Public methodLineTo(Double, Double)
Draw line from last position to new position
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveTo(PointD)
Move current pointer to new position
Public methodMoveTo(Double, Double)
Move current pointer to new position
Public methodPaintOpStr
Convert PaintOp enumeration to String
Public methodRestoreGraphicsState
Restore graphics state
Public methodReverseString
Reverse characters in a string
Public methodSaveGraphicsState
Save graphics state
Public methodScale
Scale
Public methodSetAlphaNonStroking(Double)
Set opacity value for non-stroking operations
Public methodSetAlphaNonStroking(Color)
Set opacity value (alpha) of color of for non-stroking operations
Public methodSetAlphaStroking(Double)
Set opacity value for stroking operations
Public methodSetAlphaStroking(Color)
Set opacity value (alpha) of color of for stroking operations
Public methodSetBlendMode
Set color blend mode
Public methodSetCharacterSpacing
Set character extra spacing
Public methodSetColorNonStroking
Set color for non stroking (fill or brush) operations
Public methodSetColorStroking
Set color for stroking (outline or pen) operations
Public methodSetDashLine
Set dash line pattern
Public methodSetLineCap
Set line cap
Public methodSetLineJoin
Set line join
Public methodSetLineWidth
Set line width
Public methodSetMiterLimit
Set miter limit
Public methodSetPaintOp(String)
Set paint operator
Public methodSetPaintOp(PaintOp)
Set paint operator
Public methodSetPatternNonStroking
Set pattern for non stroking (fill) operations
Public methodSetPatternStroking
Set pattern for stroking (outline) operations
Public methodSetTextPosition
Set text position
Public methodSetTextRenderingMode
Set text rendering mode
Public methodSetTransMatrix
Set current transformation matrix
Public methodSetWordSpacing
Set word extra spacing
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTranslate(PointD)
Translate origin
Public methodTranslate(Double, Double)
Translate origin
Public methodTranslateScale(PointD, Double)
Translate and scale
Public methodTranslateScale(Double, Double, Double)
Translate and scale
Public methodTranslateScale(PointD, Double, Double)
Translate and scale
Public methodTranslateScale(Double, Double, Double, Double)
Translate and scale
Public methodTranslateScaleRotate(PointD, Double, Double)
Translate, scale and rotate
Public methodTranslateScaleRotate(Double, Double, Double, Double)
Translate, scale and rotate
Public methodTranslateScaleRotate(Double, Double, Double, Double, Double)
Translate, scale and rotate
Top
Remarks

For more information go to 2.1 Coordinate System

See Also