Skip to main content
Skip table of contents

PdfContentByte (1)

PdfContentByte Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.text.pdf
  iTextSharp.text.pdf.PdfContentByte[[PdfContentByte]]
  end

Members

Properties

Public properties
Internal properties
TypeNameMethods
PageResourcesPageResourcesget
intSizeget
Protected properties
Protected internal properties
TypeNameMethods
boolInTextget

Methods

Public methods
ReturnsName
voidAdd(PdfContentByte other)
voidAddAnnotation(PdfAnnotation annot, bool applyCTM)
PdfNameAddFormXObj(...)
voidAddImage(...)
voidAddOutline(PdfOutline outline, string name)
voidAddPSXObject(PdfPSXObject psobject)
voidAddTemplate(...)
voidArc(...)
voidBeginLayer(IPdfOCG layer)
voidBeginMarkedContentSequence(...)
voidBeginText()
voidCircle(...)
voidClip()
voidCloseMCBlock(IAccessibleElement element)
voidClosePath()
voidClosePathEoFillStroke()
voidClosePathFillStroke()
voidClosePathStroke()
voidConcatCTM(...)
PdfAppearanceCreateAppearance(float width, float height)
PdfPatternPainterCreatePattern(...)
PdfTemplateCreateTemplate(float width, float height)
voidCurveFromTo(...)
voidCurveTo(...)
voidDrawButton(...)
voidDrawRadioField(...)
voidDrawTextField(...)
voidEllipse(...)
voidEndLayer()
voidEndMarkedContentSequence()
voidEndText()
voidEoClip()
voidEoFill()
voidEoFillStroke()
voidFill()
voidFillStroke()
PdfContentByteGetDuplicate(bool inheritGraphicState)
floatGetEffectiveStringWidth(string text, bool kerned)
voidInheritGraphicState(PdfContentByte parentCanvas)
boolIsTagged()
voidLineTo(...)
boolLocalDestination(string name, PdfDestination destination)
voidLocalGoto(string name, float llx, float lly, float urx, float ury)
voidMoveText(float x, float y)
voidMoveTextWithLeading(float x, float y)
voidMoveTo(...)
voidNewPath()
voidNewlineShowText(...)
voidNewlineText()
voidOpenMCBlock(IAccessibleElement element)
voidPaintShading(...)
voidRectangle(...)
voidRemoteGoto(...)
voidReset(...)
voidResetCMYKColorFill()
voidResetCMYKColorStroke()
voidResetGrayFill()
voidResetGrayStroke()
voidResetRGBColorFill()
voidResetRGBColorStroke()
voidRestoreState()
voidRoundRectangle(...)
voidSanityCheck()
voidSaveState()
voidSetAction(PdfAction action, float llx, float lly, float urx, float ury)
voidSetCMYKColorFill(int cyan, int magenta, int yellow, int black)
voidSetCMYKColorFillF(float cyan, float magenta, float yellow, float black)
voidSetCMYKColorStroke(int cyan, int magenta, int yellow, int black)
voidSetCMYKColorStrokeF(float cyan, float magenta, float yellow, float black)
voidSetCharacterSpacing(float value)
voidSetColorFill(...)
voidSetColorStroke(...)
voidSetDefaultColorspace(PdfName name, PdfObject obj)
voidSetFlatness(...)
voidSetFontAndSize(BaseFont bf, float size)
voidSetGState(PdfGState gstate)
voidSetGrayFill(float value)
voidSetGrayStroke(float value)
voidSetHorizontalScaling(float value)
voidSetLeading(float v)
voidSetLineCap(int value)
voidSetLineDash(...)
voidSetLineJoin(int value)
voidSetLineWidth(...)
voidSetLiteral(...)
voidSetMiterLimit(...)
voidSetPatternFill(...)
voidSetPatternStroke(...)
voidSetRGBColorFill(int red, int green, int blue)
voidSetRGBColorFillF(float red, float green, float blue)
voidSetRGBColorStroke(int red, int green, int blue)
voidSetRGBColorStrokeF(float red, float green, float blue)
voidSetRenderingIntent(PdfName ri)
voidSetShadingFill(PdfShadingPattern shading)
voidSetShadingStroke(PdfShadingPattern shading)
voidSetTextMatrix(...)
voidSetTextRenderingMode(int value)
voidSetTextRise(...)
voidSetWordSpacing(float value)
voidShowText(...)
voidShowTextAligned(int alignment, string text, float x, float y, float rotation)
voidShowTextAlignedKerned(int alignment, string text, float x, float y, float rotation)
voidShowTextGid(string gids)
voidShowTextKerned(string text)
voidStroke()
byte``[]ToPdf(PdfWriter writer)
stringToString()
voidTransform(...)
voidVariableRectangle(Rectangle rect)
Protected internal methods
ReturnsName
voidAddImage(Image image, double a, double b, double c, double d, double e, double f, bool inlineImage, bool isMCBlockOpened)
voidBeginText(bool restoreTM)
Internal methods
ReturnsName
voidAddAnnotation(PdfAnnotation annot)
voidAddTemplateReference(...)
voidCheckNoPattern(PdfTemplate t)
PdfAppearanceCreateAppearance(float width, float height, PdfName forcedName)
PdfTemplateCreateTemplate(float width, float height, PdfName forcedName)
intGetMcDepth()
IList<IAccessibleElement>GetMcElements()
intGetSize(bool includeMarkedContentSize)
voidOutputColorNumbers(BaseColor color, float tint)
voidRestoreMCBlocks(IList<IAccessibleElement> mcElements)
IList<IAccessibleElement>SaveMCBlocks()
voidSetMcDepth(int value)
voidSetMcElements(IList<IAccessibleElement> value)
voidUpdateTx(string text, float Tj)
Protected methods
ReturnsName
voidCheckState()
voidCheckWriter()
Public Static methods
ReturnsName
List<double``[]>BezierArc(...)
PdfTextArrayGetKernArray(string text, BaseFont font)

Details

Nested types

Classes
  • GraphicState

Constructors

PdfContentByte

Source code

public PdfContentByte(PdfWriter wr)
Arguments
TypeNameDescription
PdfWriterwr

Methods

ToString

Source code

public override string ToString()
IsTagged

Source code

public virtual bool IsTagged()
ToPdf

Source code

public virtual byte ToPdf(PdfWriter writer)
Arguments
TypeNameDescription
PdfWriterwriter
Add

Source code

public virtual void Add(PdfContentByte other)
Arguments
TypeNameDescription
PdfContentByteother
SetLeading

Source code

public virtual void SetLeading(float v)
Arguments
TypeNameDescription
floatv
SetFlatness [1/2]

Source code

public virtual void SetFlatness(float value)
Arguments
TypeNameDescription
floatvalue
SetFlatness [2/2]

Source code

public virtual void SetFlatness(double value)
Arguments
TypeNameDescription
doublevalue
SetLineCap

Source code

public virtual void SetLineCap(int value)
Arguments
TypeNameDescription
intvalue
SetRenderingIntent

Source code

public virtual void SetRenderingIntent(PdfName ri)
Arguments
TypeNameDescription
PdfNameri
SetLineDash [1/8]

Source code

public virtual void SetLineDash(float value)
Arguments
TypeNameDescription
floatvalue
SetLineDash [2/8]

Source code

public virtual void SetLineDash(double value)
Arguments
TypeNameDescription
doublevalue
SetLineDash [3/8]

Source code

public virtual void SetLineDash(float unitsOn, float phase)
Arguments
TypeNameDescription
floatunitsOn
floatphase
SetLineDash [4/8]

Source code

public virtual void SetLineDash(double unitsOn, double phase)
Arguments
TypeNameDescription
doubleunitsOn
doublephase
SetLineDash [5/8]

Source code

public virtual void SetLineDash(float unitsOn, float unitsOff, float phase)
Arguments
TypeNameDescription
floatunitsOn
floatunitsOff
floatphase
SetLineDash [6/8]

Source code

public virtual void SetLineDash(double unitsOn, double unitsOff, double phase)
Arguments
TypeNameDescription
doubleunitsOn
doubleunitsOff
doublephase
SetLineDash [7/8]

Source code

public void SetLineDash(float[] array, float phase)
Arguments
TypeNameDescription
float``[]array
floatphase
SetLineDash [8/8]

Source code

public void SetLineDash(double[] array, double phase)
Arguments
TypeNameDescription
double``[]array
doublephase
SetLineJoin

Source code

public virtual void SetLineJoin(int value)
Arguments
TypeNameDescription
intvalue
SetLineWidth [1/2]

Source code

public virtual void SetLineWidth(float value)
Arguments
TypeNameDescription
floatvalue
SetLineWidth [2/2]

Source code

public virtual void SetLineWidth(double value)
Arguments
TypeNameDescription
doublevalue
SetMiterLimit [1/2]

Source code

public virtual void SetMiterLimit(float value)
Arguments
TypeNameDescription
floatvalue
SetMiterLimit [2/2]

Source code

public virtual void SetMiterLimit(double value)
Arguments
TypeNameDescription
doublevalue
Clip

Source code

public virtual void Clip()
EoClip

Source code

public virtual void EoClip()
SetGrayFill

Source code

public virtual void SetGrayFill(float value)
Arguments
TypeNameDescription
floatvalue
ResetGrayFill

Source code

public virtual void ResetGrayFill()
SetGrayStroke

Source code

public virtual void SetGrayStroke(float value)
Arguments
TypeNameDescription
floatvalue
ResetGrayStroke

Source code

public virtual void ResetGrayStroke()
SetRGBColorFillF

Source code

public virtual void SetRGBColorFillF(float red, float green, float blue)
Arguments
TypeNameDescription
floatred
floatgreen
floatblue
ResetRGBColorFill

Source code

public virtual void ResetRGBColorFill()
SetRGBColorStrokeF

Source code

public virtual void SetRGBColorStrokeF(float red, float green, float blue)
Arguments
TypeNameDescription
floatred
floatgreen
floatblue
ResetRGBColorStroke

Source code

public virtual void ResetRGBColorStroke()
SetCMYKColorFillF

Source code

public virtual void SetCMYKColorFillF(float cyan, float magenta, float yellow, float black)
Arguments
TypeNameDescription
floatcyan
floatmagenta
floatyellow
floatblack
ResetCMYKColorFill

Source code

public virtual void ResetCMYKColorFill()
SetCMYKColorStrokeF

Source code

public virtual void SetCMYKColorStrokeF(float cyan, float magenta, float yellow, float black)
Arguments
TypeNameDescription
floatcyan
floatmagenta
floatyellow
floatblack
ResetCMYKColorStroke

Source code

public virtual void ResetCMYKColorStroke()
MoveTo [1/2]

Source code

public virtual void MoveTo(float x, float y)
Arguments
TypeNameDescription
floatx
floaty
MoveTo [2/2]

Source code

public virtual void MoveTo(double x, double y)
Arguments
TypeNameDescription
doublex
doubley
LineTo [1/2]

Source code

public virtual void LineTo(float x, float y)
Arguments
TypeNameDescription
floatx
floaty
LineTo [2/2]

Source code

public virtual void LineTo(double x, double y)
Arguments
TypeNameDescription
doublex
doubley
CurveTo [1/4]

Source code

public virtual void CurveTo(float x1, float y1, float x2, float y2, float x3, float y3)
Arguments
TypeNameDescription
floatx1
floaty1
floatx2
floaty2
floatx3
floaty3
CurveTo [2/4]

Source code

public virtual void CurveTo(double x1, double y1, double x2, double y2, double x3, double y3)
Arguments
TypeNameDescription
doublex1
doubley1
doublex2
doubley2
doublex3
doubley3
CurveTo [3/4]

Source code

public virtual void CurveTo(float x2, float y2, float x3, float y3)
Arguments
TypeNameDescription
floatx2
floaty2
floatx3
floaty3
CurveTo [4/4]

Source code

public virtual void CurveTo(double x2, double y2, double x3, double y3)
Arguments
TypeNameDescription
doublex2
doubley2
doublex3
doubley3
CurveFromTo [1/2]

Source code

public virtual void CurveFromTo(float x1, float y1, float x3, float y3)
Arguments
TypeNameDescription
floatx1
floaty1
floatx3
floaty3
CurveFromTo [2/2]

Source code

public virtual void CurveFromTo(double x1, double y1, double x3, double y3)
Arguments
TypeNameDescription
doublex1
doubley1
doublex3
doubley3
Circle [1/2]

Source code

public virtual void Circle(float x, float y, float r)
Arguments
TypeNameDescription
floatx
floaty
floatr
Circle [2/2]

Source code

public virtual void Circle(double x, double y, double r)
Arguments
TypeNameDescription
doublex
doubley
doubler
Rectangle [1/3]

Source code

public virtual void Rectangle(float x, float y, float w, float h)
Arguments
TypeNameDescription
floatx
floaty
floatw
floath
Rectangle [2/3]

Source code

public virtual void Rectangle(double x, double y, double w, double h)
Arguments
TypeNameDescription
doublex
doubley
doublew
doubleh
VariableRectangle

Source code

public virtual void VariableRectangle(Rectangle rect)
Arguments
TypeNameDescription
Rectanglerect
Rectangle [3/3]

Source code

public virtual void Rectangle(Rectangle rectangle)
Arguments
TypeNameDescription
Rectanglerectangle
ClosePath

Source code

public virtual void ClosePath()
NewPath

Source code

public virtual void NewPath()
Stroke

Source code

public virtual void Stroke()
ClosePathStroke

Source code

public virtual void ClosePathStroke()
Fill

Source code

public virtual void Fill()
EoFill

Source code

public virtual void EoFill()
FillStroke

Source code

public virtual void FillStroke()
ClosePathFillStroke

Source code

public virtual void ClosePathFillStroke()
EoFillStroke

Source code

public virtual void EoFillStroke()
ClosePathEoFillStroke

Source code

public virtual void ClosePathEoFillStroke()
AddImage [1/9]

Source code

public virtual void AddImage(Image image)
Arguments
TypeNameDescription
Imageimage
AddImage [2/9]

Source code

public virtual void AddImage(Image image, bool inlineImage)
Arguments
TypeNameDescription
Imageimage
boolinlineImage
AddImage [3/9]

Source code

public virtual void AddImage(Image image, float a, float b, float c, float d, float e, float f)
Arguments
TypeNameDescription
Imageimage
floata
floatb
floatc
floatd
floate
floatf
AddImage [4/9]

Source code

public virtual void AddImage(Image image, double a, double b, double c, double d, double e, double f)
Arguments
TypeNameDescription
Imageimage
doublea
doubleb
doublec
doubled
doublee
doublef
AddImage [5/9]

Source code

public virtual void AddImage(Image image, AffineTransform transform)
Arguments
TypeNameDescription
Imageimage
AffineTransformtransform
AddImage [6/9]

Source code

public void AddImage(Image image, Matrix transform)
Arguments
TypeNameDescription
Imageimage
Matrixtransform
AddImage [7/9]

Source code

public virtual void AddImage(Image image, float a, float b, float c, float d, float e, float f, bool inlineImage)
Arguments
TypeNameDescription
Imageimage
floata
floatb
floatc
floatd
floate
floatf
boolinlineImage
AddImage [8/9]

Source code

public virtual void AddImage(Image image, double a, double b, double c, double d, double e, double f, bool inlineImage)
Arguments
TypeNameDescription
Imageimage
doublea
doubleb
doublec
doubled
doublee
doublef
boolinlineImage
AddImage [9/9]

Source code

protected internal void AddImage(Image image, double a, double b, double c, double d, double e, double f, bool inlineImage, bool isMCBlockOpened)
Arguments
TypeNameDescription
Imageimage
doublea
doubleb
doublec
doubled
doublee
doublef
boolinlineImage
boolisMCBlockOpened
Reset [1/2]

Source code

public virtual void Reset()
Reset [2/2]

Source code

public virtual void Reset(bool validateContent)
Arguments
TypeNameDescription
boolvalidateContent
BeginText [1/2]

Source code

protected internal virtual void BeginText(bool restoreTM)
Arguments
TypeNameDescription
boolrestoreTM
BeginText [2/2]

Source code

public virtual void BeginText()
EndText

Source code

public virtual void EndText()
SaveState

Source code

public virtual void SaveState()
RestoreState

Source code

public virtual void RestoreState()
SetCharacterSpacing

Source code

public virtual void SetCharacterSpacing(float value)
Arguments
TypeNameDescription
floatvalue
SetWordSpacing

Source code

public virtual void SetWordSpacing(float value)
Arguments
TypeNameDescription
floatvalue
SetHorizontalScaling

Source code

public virtual void SetHorizontalScaling(float value)
Arguments
TypeNameDescription
floatvalue
SetFontAndSize

Source code

public virtual void SetFontAndSize(BaseFont bf, float size)
Arguments
TypeNameDescription
BaseFontbf
floatsize
SetTextRenderingMode

Source code

public virtual void SetTextRenderingMode(int value)
Arguments
TypeNameDescription
intvalue
SetTextRise [1/2]

Source code

public virtual void SetTextRise(float value)
Arguments
TypeNameDescription
floatvalue
SetTextRise [2/2]

Source code

public virtual void SetTextRise(double value)
Arguments
TypeNameDescription
doublevalue
ShowText [1/2]

Source code

public virtual void ShowText(string text)
Arguments
TypeNameDescription
stringtext
ShowTextGid

Source code

public virtual void ShowTextGid(string gids)
Arguments
TypeNameDescription
stringgids
GetKernArray

Source code

public static PdfTextArray GetKernArray(string text, BaseFont font)
Arguments
TypeNameDescription
stringtext
BaseFontfont
ShowTextKerned

Source code

public virtual void ShowTextKerned(string text)
Arguments
TypeNameDescription
stringtext
NewlineShowText [1/2]

Source code

public virtual void NewlineShowText(string text)
Arguments
TypeNameDescription
stringtext
NewlineShowText [2/2]

Source code

public virtual void NewlineShowText(float wordSpacing, float charSpacing, string text)
Arguments
TypeNameDescription
floatwordSpacing
floatcharSpacing
stringtext
SetTextMatrix [1/4]

Source code

public virtual void SetTextMatrix(float a, float b, float c, float d, float x, float y)
Arguments
TypeNameDescription
floata
floatb
floatc
floatd
floatx
floaty
SetTextMatrix [2/4]

Source code

public virtual void SetTextMatrix(AffineTransform transform)
Arguments
TypeNameDescription
AffineTransformtransform
SetTextMatrix [3/4]

Source code

public void SetTextMatrix(Matrix transform)
Arguments
TypeNameDescription
Matrixtransform
SetTextMatrix [4/4]

Source code

public virtual void SetTextMatrix(float x, float y)
Arguments
TypeNameDescription
floatx
floaty
MoveText

Source code

public virtual void MoveText(float x, float y)
Arguments
TypeNameDescription
floatx
floaty
MoveTextWithLeading

Source code

public virtual void MoveTextWithLeading(float x, float y)
Arguments
TypeNameDescription
floatx
floaty
NewlineText

Source code

public virtual void NewlineText()
GetSize

Source code

internal int GetSize(bool includeMarkedContentSize)
Arguments
TypeNameDescription
boolincludeMarkedContentSize
AddOutline

Source code

public virtual void AddOutline(PdfOutline outline, string name)
Arguments
TypeNameDescription
PdfOutlineoutline
stringname
GetEffectiveStringWidth

Source code

public virtual float GetEffectiveStringWidth(string text, bool kerned)
Arguments
TypeNameDescription
stringtext
boolkerned
ShowTextAligned

Source code

public virtual void ShowTextAligned(int alignment, string text, float x, float y, float rotation)
Arguments
TypeNameDescription
intalignment
stringtext
floatx
floaty
floatrotation
ShowTextAlignedKerned

Source code

public virtual void ShowTextAlignedKerned(int alignment, string text, float x, float y, float rotation)
Arguments
TypeNameDescription
intalignment
stringtext
floatx
floaty
floatrotation
ConcatCTM [1/4]

Source code

public virtual void ConcatCTM(float a, float b, float c, float d, float e, float f)
Arguments
TypeNameDescription
floata
floatb
floatc
floatd
floate
floatf
ConcatCTM [2/4]

Source code

public virtual void ConcatCTM(double a, double b, double c, double d, double e, double f)
Arguments
TypeNameDescription
doublea
doubleb
doublec
doubled
doublee
doublef
ConcatCTM [3/4]

Source code

public virtual void ConcatCTM(AffineTransform transform)
Arguments
TypeNameDescription
AffineTransformtransform
ConcatCTM [4/4]

Source code

public void ConcatCTM(Matrix transform)
Arguments
TypeNameDescription
Matrixtransform
BezierArc [1/2]

Source code

public static List<double> BezierArc(float x1, float y1, float x2, float y2, float startAng, float extent)
Arguments
TypeNameDescription
floatx1
floaty1
floatx2
floaty2
floatstartAng
floatextent
BezierArc [2/2]

Source code

public static List<double> BezierArc(double x1, double y1, double x2, double y2, double startAng, double extent)
Arguments
TypeNameDescription
doublex1
doubley1
doublex2
doubley2
doublestartAng
doubleextent
Arc [1/2]

Source code

public virtual void Arc(float x1, float y1, float x2, float y2, float startAng, float extent)
Arguments
TypeNameDescription
floatx1
floaty1
floatx2
floaty2
floatstartAng
floatextent
Arc [2/2]

Source code

public virtual void Arc(double x1, double y1, double x2, double y2, double startAng, double extent)
Arguments
TypeNameDescription
doublex1
doubley1
doublex2
doubley2
doublestartAng
doubleextent
Ellipse [1/2]

Source code

public virtual void Ellipse(double x1, double y1, double x2, double y2)
Arguments
TypeNameDescription
doublex1
doubley1
doublex2
doubley2
Ellipse [2/2]

Source code

public virtual void Ellipse(float x1, float y1, float x2, float y2)
Arguments
TypeNameDescription
floatx1
floaty1
floatx2
floaty2
CreatePattern [1/4]

Source code

public virtual PdfPatternPainter CreatePattern(float width, float height, float xstep, float ystep)
Arguments
TypeNameDescription
floatwidth
floatheight
floatxstep
floatystep
CreatePattern [2/4]

Source code

public virtual PdfPatternPainter CreatePattern(float width, float height)
Arguments
TypeNameDescription
floatwidth
floatheight
CreatePattern [3/4]

Source code

public virtual PdfPatternPainter CreatePattern(float width, float height, float xstep, float ystep, BaseColor color)
Arguments
TypeNameDescription
floatwidth
floatheight
floatxstep
floatystep
BaseColorcolor
CreatePattern [4/4]

Source code

public virtual PdfPatternPainter CreatePattern(float width, float height, BaseColor color)
Arguments
TypeNameDescription
floatwidth
floatheight
BaseColorcolor
CreateTemplate [1/2]

Source code

public virtual PdfTemplate CreateTemplate(float width, float height)
Arguments
TypeNameDescription
floatwidth
floatheight
CreateTemplate [2/2]

Source code

internal PdfTemplate CreateTemplate(float width, float height, PdfName forcedName)
Arguments
TypeNameDescription
floatwidth
floatheight
PdfNameforcedName
CreateAppearance [1/2]

Source code

public virtual PdfAppearance CreateAppearance(float width, float height)
Arguments
TypeNameDescription
floatwidth
floatheight
CreateAppearance [2/2]

Source code

internal PdfAppearance CreateAppearance(float width, float height, PdfName forcedName)
Arguments
TypeNameDescription
floatwidth
floatheight
PdfNameforcedName
AddPSXObject

Source code

public virtual void AddPSXObject(PdfPSXObject psobject)
Arguments
TypeNameDescription
PdfPSXObjectpsobject
AddTemplate [1/13]

Source code

public virtual void AddTemplate(PdfTemplate template, float a, float b, float c, float d, float e, float f)
Arguments
TypeNameDescription
PdfTemplatetemplate
floata
floatb
floatc
floatd
floate
floatf
AddTemplate [2/13]

Source code

public virtual void AddTemplate(PdfTemplate template, double a, double b, double c, double d, double e, double f)
Arguments
TypeNameDescription
PdfTemplatetemplate
doublea
doubleb
doublec
doubled
doublee
doublef
AddTemplate [3/13]

Source code

public virtual void AddTemplate(PdfTemplate template, float a, float b, float c, float d, float e, float f, bool tagContent)
Arguments
TypeNameDescription
PdfTemplatetemplate
floata
floatb
floatc
floatd
floate
floatf
booltagContent
AddTemplate [4/13]

Source code

public virtual void AddTemplate(PdfTemplate template, double a, double b, double c, double d, double e, double f, bool tagContent)
Arguments
TypeNameDescription
PdfTemplatetemplate
doublea
doubleb
doublec
doubled
doublee
doublef
booltagContent
AddTemplate [5/13]

Source code

public virtual void AddTemplate(PdfTemplate template, double a, double b, double c, double d, double e, double f, bool tagTemplate, bool tagContent)
Arguments
TypeNameDescription
PdfTemplatetemplate
doublea
doubleb
doublec
doubled
doublee
doublef
booltagTemplate
booltagContent
AddFormXObj [1/2]

Source code

public virtual PdfName AddFormXObj(PdfStream formXObj, PdfName name, float a, float b, float c, float d, float e, float f)
Arguments
TypeNameDescription
PdfStreamformXObj
PdfNamename
floata
floatb
floatc
floatd
floate
floatf
AddFormXObj [2/2]

Source code

public virtual PdfName AddFormXObj(PdfStream formXObj, PdfName name, double a, double b, double c, double d, double e, double f)
Arguments
TypeNameDescription
PdfStreamformXObj
PdfNamename
doublea
doubleb
doublec
doubled
doublee
doublef
AddTemplate [6/13]

Source code

public virtual void AddTemplate(PdfTemplate template, AffineTransform transform)
Arguments
TypeNameDescription
PdfTemplatetemplate
AffineTransformtransform
AddTemplate [7/13]

Source code

public virtual void AddTemplate(PdfTemplate template, AffineTransform transform, bool tagContent)
Arguments
TypeNameDescription
PdfTemplatetemplate
AffineTransformtransform
booltagContent
AddTemplate [8/13]

Source code

public void AddTemplate(PdfTemplate template, Matrix transform, bool tagContent)
Arguments
TypeNameDescription
PdfTemplatetemplate
Matrixtransform
booltagContent
AddTemplate [9/13]

Source code

public void AddTemplate(PdfTemplate template, Matrix transform)
Arguments
TypeNameDescription
PdfTemplatetemplate
Matrixtransform
AddTemplateReference [1/2]

Source code

internal void AddTemplateReference(PdfIndirectReference template, PdfName name, float a, float b, float c, float d, float e, float f)
Arguments
TypeNameDescription
PdfIndirectReferencetemplate
PdfNamename
floata
floatb
floatc
floatd
floate
floatf
AddTemplateReference [2/2]

Source code

internal void AddTemplateReference(PdfIndirectReference template, PdfName name, double a, double b, double c, double d, double e, double f)
Arguments
TypeNameDescription
PdfIndirectReferencetemplate
PdfNamename
doublea
doubleb
doublec
doubled
doublee
doublef
AddTemplate [10/13]

Source code

public virtual void AddTemplate(PdfTemplate template, float x, float y)
Arguments
TypeNameDescription
PdfTemplatetemplate
floatx
floaty
AddTemplate [11/13]

Source code

public virtual void AddTemplate(PdfTemplate template, double x, double y)
Arguments
TypeNameDescription
PdfTemplatetemplate
doublex
doubley
AddTemplate [12/13]

Source code

public virtual void AddTemplate(PdfTemplate template, float x, float y, bool tagContent)
Arguments
TypeNameDescription
PdfTemplatetemplate
floatx
floaty
booltagContent
AddTemplate [13/13]

Source code

public virtual void AddTemplate(PdfTemplate template, double x, double y, bool tagContent)
Arguments
TypeNameDescription
PdfTemplatetemplate
doublex
doubley
booltagContent
SetCMYKColorFill

Source code

public virtual void SetCMYKColorFill(int cyan, int magenta, int yellow, int black)
Arguments
TypeNameDescription
intcyan
intmagenta
intyellow
intblack
SetCMYKColorStroke

Source code

public virtual void SetCMYKColorStroke(int cyan, int magenta, int yellow, int black)
Arguments
TypeNameDescription
intcyan
intmagenta
intyellow
intblack
SetRGBColorFill

Source code

public virtual void SetRGBColorFill(int red, int green, int blue)
Arguments
TypeNameDescription
intred
intgreen
intblue
SetRGBColorStroke

Source code

public virtual void SetRGBColorStroke(int red, int green, int blue)
Arguments
TypeNameDescription
intred
intgreen
intblue
SetColorStroke [1/4]

Source code

public virtual void SetColorStroke(BaseColor value)
Arguments
TypeNameDescription
BaseColorvalue
SetColorFill [1/4]

Source code

public virtual void SetColorFill(BaseColor value)
Arguments
TypeNameDescription
BaseColorvalue
SetColorFill [2/4]

Source code

public virtual void SetColorFill(PdfSpotColor sp, float tint)
Arguments
TypeNameDescription
PdfSpotColorsp
floattint
SetColorFill [3/4]

Source code

public virtual void SetColorFill(PdfDeviceNColor dn, float[] tints)
Arguments
TypeNameDescription
PdfDeviceNColordn
float``[]tints
SetColorFill [4/4]

Source code

public virtual void SetColorFill(PdfLabColor lab, float l, float a, float b)
Arguments
TypeNameDescription
PdfLabColorlab
floatl
floata
floatb
SetColorStroke [2/4]

Source code

public virtual void SetColorStroke(PdfSpotColor sp, float tint)
Arguments
TypeNameDescription
PdfSpotColorsp
floattint
SetColorStroke [3/4]

Source code

public virtual void SetColorStroke(PdfDeviceNColor sp, float[] tints)
Arguments
TypeNameDescription
PdfDeviceNColorsp
float``[]tints
SetColorStroke [4/4]

Source code

public virtual void SetColorStroke(PdfLabColor lab, float l, float a, float b)
Arguments
TypeNameDescription
PdfLabColorlab
floatl
floata
floatb
SetPatternFill [1/3]

Source code

public virtual void SetPatternFill(PdfPatternPainter p)
Arguments
TypeNameDescription
PdfPatternPainterp
OutputColorNumbers

Source code

internal void OutputColorNumbers(BaseColor color, float tint)
Arguments
TypeNameDescription
BaseColorcolor
floattint
SetPatternFill [2/3]

Source code

public virtual void SetPatternFill(PdfPatternPainter p, BaseColor color)
Arguments
TypeNameDescription
PdfPatternPainterp
BaseColorcolor
SetPatternFill [3/3]

Source code

public virtual void SetPatternFill(PdfPatternPainter p, BaseColor color, float tint)
Arguments
TypeNameDescription
PdfPatternPainterp
BaseColorcolor
floattint
SetPatternStroke [1/3]

Source code

public virtual void SetPatternStroke(PdfPatternPainter p, BaseColor color)
Arguments
TypeNameDescription
PdfPatternPainterp
BaseColorcolor
SetPatternStroke [2/3]

Source code

public virtual void SetPatternStroke(PdfPatternPainter p, BaseColor color, float tint)
Arguments
TypeNameDescription
PdfPatternPainterp
BaseColorcolor
floattint
SetPatternStroke [3/3]

Source code

public virtual void SetPatternStroke(PdfPatternPainter p)
Arguments
TypeNameDescription
PdfPatternPainterp
PaintShading [1/2]

Source code

public virtual void PaintShading(PdfShading shading)
Arguments
TypeNameDescription
PdfShadingshading
PaintShading [2/2]

Source code

public virtual void PaintShading(PdfShadingPattern shading)
Arguments
TypeNameDescription
PdfShadingPatternshading
SetShadingFill

Source code

public virtual void SetShadingFill(PdfShadingPattern shading)
Arguments
TypeNameDescription
PdfShadingPatternshading
SetShadingStroke

Source code

public virtual void SetShadingStroke(PdfShadingPattern shading)
Arguments
TypeNameDescription
PdfShadingPatternshading
CheckWriter

Source code

protected virtual void CheckWriter()
ShowText [2/2]

Source code

public virtual void ShowText(PdfTextArray text)
Arguments
TypeNameDescription
PdfTextArraytext
LocalGoto

Source code

public virtual void LocalGoto(string name, float llx, float lly, float urx, float ury)
Arguments
TypeNameDescription
stringname
floatllx
floatlly
floaturx
floatury
LocalDestination

Source code

public virtual bool LocalDestination(string name, PdfDestination destination)
Arguments
TypeNameDescription
stringname
PdfDestinationdestination
GetDuplicate

Source code

public virtual PdfContentByte GetDuplicate(bool inheritGraphicState)
Arguments
TypeNameDescription
boolinheritGraphicState
InheritGraphicState

Source code

public virtual void InheritGraphicState(PdfContentByte parentCanvas)
Arguments
TypeNameDescription
PdfContentByteparentCanvas
RemoteGoto [1/2]

Source code

public virtual void RemoteGoto(string filename, string name, float llx, float lly, float urx, float ury)
Arguments
TypeNameDescription
stringfilename
stringname
floatllx
floatlly
floaturx
floatury
RemoteGoto [2/2]

Source code

public virtual void RemoteGoto(string filename, int page, float llx, float lly, float urx, float ury)
Arguments
TypeNameDescription
stringfilename
intpage
floatllx
floatlly
floaturx
floatury
RoundRectangle [1/2]

Source code

public virtual void RoundRectangle(float x, float y, float w, float h, float r)
Arguments
TypeNameDescription
floatx
floaty
floatw
floath
floatr
RoundRectangle [2/2]

Source code

public virtual void RoundRectangle(double x, double y, double w, double h, double r)
Arguments
TypeNameDescription
doublex
doubley
doublew
doubleh
doubler
SetAction

Source code

public virtual void SetAction(PdfAction action, float llx, float lly, float urx, float ury)
Arguments
TypeNameDescription
PdfActionaction
floatllx
floatlly
floaturx
floatury
SetLiteral [1/3]

Source code

public virtual void SetLiteral(string s)
Arguments
TypeNameDescription
strings
SetLiteral [2/3]

Source code

public virtual void SetLiteral(char c)
Arguments
TypeNameDescription
charc
SetLiteral [3/3]

Source code

public virtual void SetLiteral(float n)
Arguments
TypeNameDescription
floatn
CheckNoPattern

Source code

internal void CheckNoPattern(PdfTemplate t)
Arguments
TypeNameDescription
PdfTemplatet
DrawRadioField [1/2]

Source code

public virtual void DrawRadioField(float llx, float lly, float urx, float ury, bool on)
Arguments
TypeNameDescription
floatllx
floatlly
floaturx
floatury
boolon
DrawRadioField [2/2]

Source code

public virtual void DrawRadioField(double llx, double lly, double urx, double ury, bool on)
Arguments
TypeNameDescription
doublellx
doublelly
doubleurx
doubleury
boolon
DrawTextField [1/2]

Source code

public virtual void DrawTextField(float llx, float lly, float urx, float ury)
Arguments
TypeNameDescription
floatllx
floatlly
floaturx
floatury
DrawTextField [2/2]

Source code

public virtual void DrawTextField(double llx, double lly, double urx, double ury)
Arguments
TypeNameDescription
doublellx
doublelly
doubleurx
doubleury
DrawButton [1/2]

Source code

public virtual void DrawButton(float llx, float lly, float urx, float ury, string text, BaseFont bf, float size)
Arguments
TypeNameDescription
floatllx
floatlly
floaturx
floatury
stringtext
BaseFontbf
floatsize
DrawButton [2/2]

Source code

public virtual void DrawButton(double llx, double lly, double urx, double ury, string text, BaseFont bf, float size)
Arguments
TypeNameDescription
doublellx
doublelly
doubleurx
doubleury
stringtext
BaseFontbf
floatsize
SetGState

Source code

public virtual void SetGState(PdfGState gstate)
Arguments
TypeNameDescription
PdfGStategstate
BeginLayer

Source code

public virtual void BeginLayer(IPdfOCG layer)
Arguments
TypeNameDescription
IPdfOCGlayer
EndLayer

Source code

public virtual void EndLayer()
AddAnnotation [1/2]

Source code

internal virtual void AddAnnotation(PdfAnnotation annot)
Arguments
TypeNameDescription
PdfAnnotationannot
AddAnnotation [2/2]

Source code

public virtual void AddAnnotation(PdfAnnotation annot, bool applyCTM)
Arguments
TypeNameDescription
PdfAnnotationannot
boolapplyCTM
SetDefaultColorspace

Source code

public virtual void SetDefaultColorspace(PdfName name, PdfObject obj)
Arguments
TypeNameDescription
PdfNamename
PdfObjectobj
Transform [1/2]

Source code

public virtual void Transform(AffineTransform af)
Arguments
TypeNameDescription
AffineTransformaf
Transform [2/2]

Source code

public void Transform(Matrix tx)
Arguments
TypeNameDescription
Matrixtx
BeginMarkedContentSequence [1/4]

Source code

public virtual void BeginMarkedContentSequence(PdfStructureElement struc)
Arguments
TypeNameDescription
PdfStructureElementstruc
BeginMarkedContentSequence [2/4]

Source code

public virtual void BeginMarkedContentSequence(PdfStructureElement struc, string expansion)
Arguments
TypeNameDescription
PdfStructureElementstruc
stringexpansion
EndMarkedContentSequence

Source code

public virtual void EndMarkedContentSequence()
BeginMarkedContentSequence [3/4]

Source code

public virtual void BeginMarkedContentSequence(PdfName tag, PdfDictionary property, bool inline)
Arguments
TypeNameDescription
PdfNametag
PdfDictionaryproperty
boolinline
BeginMarkedContentSequence [4/4]

Source code

public virtual void BeginMarkedContentSequence(PdfName tag)
Arguments
TypeNameDescription
PdfNametag
SanityCheck

Source code

public virtual void SanityCheck()
OpenMCBlock

Source code

public virtual void OpenMCBlock(IAccessibleElement element)
Arguments
TypeNameDescription
IAccessibleElementelement
CloseMCBlock

Source code

public virtual void CloseMCBlock(IAccessibleElement element)
Arguments
TypeNameDescription
IAccessibleElementelement
SaveMCBlocks

Source code

internal IList<IAccessibleElement> SaveMCBlocks()
RestoreMCBlocks

Source code

internal void RestoreMCBlocks(IList<IAccessibleElement> mcElements)
Arguments
TypeNameDescription
IList<IAccessibleElement>mcElements
GetMcDepth

Source code

internal int GetMcDepth()
SetMcDepth

Source code

internal void SetMcDepth(int value)
Arguments
TypeNameDescription
intvalue
GetMcElements

Source code

internal IList<IAccessibleElement> GetMcElements()
SetMcElements

Source code

internal void SetMcElements(IList<IAccessibleElement> value)
Arguments
TypeNameDescription
IList<IAccessibleElement>value
UpdateTx

Source code

internal void UpdateTx(string text, float Tj)
Arguments
TypeNameDescription
stringtext
floatTj
CheckState

Source code

protected virtual void CheckState()

Properties

SuppressTagging
public bool SuppressTagging { get; set; }
InternalBuffer
public virtual ByteBuffer InternalBuffer { get; }
XTLM
public virtual float XTLM { get; }
YTLM
public virtual float YTLM { get; }
CharacterSpacing
public virtual float CharacterSpacing { get; }
WordSpacing
public virtual float WordSpacing { get; }
HorizontalScaling
public virtual float HorizontalScaling { get; }
Leading
public virtual float Leading { get; }
Size
internal int Size { get; }
RootOutline
public virtual PdfOutline RootOutline { get; }
PdfWriter
public virtual PdfWriter PdfWriter { get; }
PdfDocument
public virtual PdfDocument PdfDocument { get; }
Duplicate
public virtual PdfContentByte Duplicate { get; }
PageResources
internal virtual PageResources PageResources { get; }
CurrentPage
protected virtual PdfIndirectReference CurrentPage { get; }
InText
protected internal virtual bool InText { get; }

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.