Class VerticalPositionMark
- Namespace
- iTextSharp.text.pdf.draw
- Assembly
- iTextSharp.LGPLv2.Core.dll
Helper class implementing the DrawInterface. Can be used to add horizontal or vertical separators. Won't draw anything unless you implement the draw method. @since 2.1.2
public class VerticalPositionMark : IDrawInterface, IElement
- Inheritance
-
VerticalPositionMark
- Implements
- Derived
- Inherited Members
Constructors
VerticalPositionMark()
Creates a vertical position mark that won't draw anything unless you define a DrawInterface.
public VerticalPositionMark()
VerticalPositionMark(IDrawInterface, float)
Creates a vertical position mark that won't draw anything unless you define a DrawInterface.
public VerticalPositionMark(IDrawInterface drawInterface, float offset)
Parameters
drawInterface
IDrawInterfacethe drawInterface for this vertical position mark.
offset
floatthe offset for this vertical position mark.
Properties
Chunks
@see com.lowagie.text.Element#getChunks()
public IList<Chunk> Chunks { get; }
Property Value
DrawInterface
Setter for the interface with the overruling Draw() method.
public virtual IDrawInterface DrawInterface { get; set; }
Property Value
Offset
Setter for the offset. The offset is relative to the current Y position. If you want to underline something, you have to choose a negative offset.
public virtual float Offset { get; set; }
Property Value
Type
@see com.lowagie.text.Element#type()
public int Type { get; }
Property Value
Methods
Draw(PdfContentByte, float, float, float, float, float)
@see com.lowagie.text.pdf.draw.DrawInterface#draw(com.lowagie.text.pdf.PdfContentByte, float, float, float, float, float)
public virtual void Draw(PdfContentByte canvas, float llx, float lly, float urx, float ury, float y)
Parameters
IsContent()
@see com.lowagie.text.Element#isContent()
public bool IsContent()
Returns
IsNestable()
@see com.lowagie.text.Element#isNestable()
public bool IsNestable()
Returns
Process(IElementListener)
@see com.lowagie.text.Element#process(com.lowagie.text.ElementListener)
public bool Process(IElementListener listener)
Parameters
listener
IElementListener