PdfDiv Public class
Diagram
flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf iTextSharp.text.pdf.PdfDiv[[PdfDiv]] end subgraph iTextSharp.text iTextSharp.text.IElement[[IElement]] class iTextSharp.text.IElement interfaceStyle; end subgraph iTextSharp.text.api iTextSharp.text.api.ISpaceable[[ISpaceable]] class iTextSharp.text.api.ISpaceable interfaceStyle; end subgraph iTextSharp.text.pdf.interfaces iTextSharp.text.pdf.interfaces.IAccessibleElement[[IAccessibleElement]] class iTextSharp.text.pdf.interfaces.IAccessibleElement interfaceStyle; end iTextSharp.text.IElement --> iTextSharp.text.pdf.PdfDiv iTextSharp.text.api.ISpaceable --> iTextSharp.text.pdf.PdfDiv iTextSharp.text.pdf.interfaces.IAccessibleElement --> iTextSharp.text.pdf.PdfDiv
Members
Properties
Public properties
|
Type |
Name |
Methods |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
> |
|
|
|
> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods
Public methods
|
Returns |
Name |
|---|---|
|
|
(
element) |
|
|
(
key) |
|
,
> |
() |
|
|
() |
|
|
() |
|
|
(
canvas, |
|
|
(
listener) |
|
|
(
key,
value) |
|
|
(
image, |
|
|
() |
|
|
() |
Details
Inheritance
Nested types
Enums
-
FloatType -
PositionType -
DisplayType -
BorderTopStyle
Constructors
PdfDiv
Source code
public PdfDiv()
Methods
getActualHeight
Source code
public virtual float getActualHeight()
getActualWidth
Source code
public virtual float getActualWidth()
SetBackgroundImage
Source code
public virtual void SetBackgroundImage(Image image, float width, float height)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
image |
|
|
|
width |
|
|
|
height |
IsContent
Source code
public virtual bool IsContent()
IsNestable
Source code
public virtual bool IsNestable()
Process
Source code
public virtual bool Process(IElementListener listener)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
listener |
AddElement
Source code
public virtual void AddElement(IElement element)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
element |
Layout
Source code
public virtual int Layout(PdfContentByte canvas, bool useAscender, bool simulate, float llx, float lly, float urx, float ury)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
canvas |
|
|
|
useAscender |
|
|
|
simulate |
|
|
|
llx |
|
|
|
lly |
|
|
|
urx |
|
|
|
ury |
GetAccessibleAttribute
Source code
public virtual PdfObject GetAccessibleAttribute(PdfName key)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
key |
SetAccessibleAttribute
Source code
public virtual void SetAccessibleAttribute(PdfName key, PdfObject value)
Arguments
GetAccessibleAttributes
Source code
public virtual Dictionary<PdfName, PdfObject> GetAccessibleAttributes()
Properties
Left
public virtual Nullable<float> Left { get; set; }
Top
public virtual Nullable<float> Top { get; set; }
Right
public virtual Nullable<float> Right { get; set; }
Bottom
public virtual Nullable<float> Bottom { get; set; }
Width
public virtual Nullable<float> Width { get; set; }
Height
public virtual Nullable<float> Height { get; set; }
PercentageHeight
public virtual Nullable<float> PercentageHeight { get; set; }
PercentageWidth
public virtual Nullable<float> PercentageWidth { get; set; }
ContentWidth
public virtual float ContentWidth { get; set; }
ContentHeight
public virtual float ContentHeight { get; set; }
TextAlignment
public virtual int TextAlignment { get; set; }
PaddingLeft
public virtual float PaddingLeft { get; set; }
PaddingRight
public virtual float PaddingRight { get; set; }
PaddingTop
public virtual float PaddingTop { get; set; }
PaddingBottom
public virtual float PaddingBottom { get; set; }
Float
public virtual FloatType Float { get; set; }
Position
public virtual PositionType Position { get; set; }
FloatLayout
public virtual FloatLayout FloatLayout { get; set; }
Display
public virtual DisplayType Display { get; set; }
BackgroundColor
public virtual BaseColor BackgroundColor { get; set; }
BackgroundImage
public virtual Image BackgroundImage { set; }
YLine
public virtual float YLine { get; }
RunDirection
public virtual int RunDirection { get; set; }
SpacingBefore
public virtual float SpacingBefore { get; set; }
SpacingAfter
public virtual float SpacingAfter { get; set; }
Content
public virtual List<IElement> Content { get; }
BorderStyle
public virtual BorderTopStyle BorderStyle { get; set; }
KeepTogether
public virtual bool KeepTogether { get; set; }
Chunks
public virtual IList<Chunk> Chunks { get; }
Type
public virtual int Type { get; }
Role
public virtual PdfName Role { get; set; }
ID
public virtual AccessibleElementId ID { get; set; }
IsInline
public virtual bool IsInline { get; }
Generated with ModularDoc