BaseField Public class
Diagram
flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf iTextSharp.text.pdf.BaseField[[BaseField]] class iTextSharp.text.pdf.BaseField abstractStyle; end
Members
Properties
Protected properties
Public properties
|
Type |
Name |
Methods |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods
Protected methods
|
Returns |
Name |
|---|---|
|
|
() |
Public methods
|
Returns |
Name |
|---|---|
|
|
(
page) |
Protected Static methods
|
Returns |
Name |
|---|---|
|
|
(
font, |
|
|
( |
|
|
( |
Public Static methods
|
Returns |
Name |
|---|---|
|
|
(
from,
to) |
Details
Constructors
BaseField
Source code
public BaseField(PdfWriter writer, Rectangle box, string fieldName)
Arguments
Methods
GetBorderAppearance
Source code
protected virtual PdfAppearance GetBorderAppearance()
GetHardBreaks
Source code
protected static List<string> GetHardBreaks(string text)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
text |
TrimRight
Source code
protected static void TrimRight(StringBuilder buf)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
buf |
BreakLines
Source code
protected static List<string> BreakLines(List<string> breaks, BaseFont font, float fontSize, float width)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
breaks |
|
|
|
font |
|
|
|
fontSize |
|
|
|
width |
SetRotationFromPage
Source code
public virtual void SetRotationFromPage(Rectangle page)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
page |
MoveFields
Source code
public static void MoveFields(PdfDictionary from, PdfDictionary to)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
from |
|
|
|
to |
Properties
RealFont
protected virtual BaseFont RealFont { get; }
BorderWidth
public virtual float BorderWidth { get; set; }
BorderStyle
public virtual int BorderStyle { get; set; }
BorderColor
public virtual BaseColor BorderColor { get; set; }
BackgroundColor
public virtual BaseColor BackgroundColor { get; set; }
TextColor
public virtual BaseColor TextColor { get; set; }
Font
public virtual BaseFont Font { get; set; }
FontSize
public virtual float FontSize { get; set; }
Alignment
public virtual int Alignment { get; set; }
Text
public virtual string Text { get; set; }
Box
public virtual Rectangle Box { get; set; }
Rotation
public virtual int Rotation { get; set; }
Visibility
public virtual int Visibility { get; set; }
FieldName
public virtual string FieldName { get; set; }
Options
public virtual int Options { get; set; }
MaxCharacterLength
public virtual int MaxCharacterLength { get; set; }
Writer
public virtual PdfWriter Writer { get; set; }
Generated with ModularDoc