C# Class HPdf.HPdfPage

Exibir arquivo Open project: ChristophGuillermet/WHITECAT_opensource Class Usage Examples

Public Methods

Method Description
Arc ( float x, float y, float ray, float ang1, float ang2 ) : void
BeginText ( ) : void
Circle ( float x, float y, float ray ) : void
Clip ( ) : void
ClosePath ( ) : void
ClosePathEofillStroke ( ) : void
ClosePathFillStroke ( ) : void
ClosePathStroke ( ) : void
Concat ( float a, float b, float c, float d, float x, float y ) : void
CreateDestination ( ) : HPdfDestination
CreateLinkAnnot ( HPdfRect rect, HPdfDestination dst ) : HPdfAnnotation
CreateTextAnnot ( HPdfRect rect, string text, HPdfEncoder encoder ) : HPdfAnnotation
CreateURILinkAnnot ( HPdfRect rect, string uri ) : HPdfAnnotation
CurveTo ( float x1, float y1, float x2, float y2, float x3, float y3 ) : void
CurveTo2 ( float x2, float y2, float x3, float y3 ) : void
CurveTo3 ( float x1, float y1, float x3, float y3 ) : void
DrawImage ( HPdfImage image, float x, float y, float width, float height ) : void
EndPath ( ) : void
EndText ( ) : void
Eoclip ( ) : void
Eofill ( ) : void
EofillStroke ( ) : void
ExecuteXObject ( HPdfImage xobj ) : void
Fill ( ) : void
FillStroke ( ) : void
GRestore ( ) : void
GSave ( ) : void
GetCMYKFill ( ) : HPdfCMYKColor
GetCMYKStroke ( ) : HPdfCMYKColor
GetCharSpace ( ) : float
GetCurrentFont ( ) : HPdfFont
GetCurrentFontSize ( ) : float
GetCurrentPos ( ) : HPdfPoint
GetCurrentTextPos ( ) : HPdfPoint
GetDash ( ) : HPdfDashMode
GetFillingColorSpace ( ) : HPdfColorSpace
GetFlat ( ) : float
GetGMode ( ) : ushort
GetGStateDepth ( ) : uint
GetGrayFill ( ) : float
GetGrayStroke ( ) : float
GetHandle ( ) : IntPtr
GetHeight ( ) : float
GetHorizontalScalling ( ) : float
GetLineCap ( ) : HPdfLineCap
GetLineJoin ( ) : HPdfLineJoin
GetLineWidth ( ) : float
GetMiterLimit ( ) : float
GetRGBFill ( ) : HPdfRGBColor
GetRGBStroke ( ) : HPdfRGBColor
GetStrokingColorSpace ( ) : HPdfColorSpace
GetTextLeading ( ) : float
GetTextMatrix ( ) : HPdfTransMatrix
GetTextRaise ( ) : float
GetTextRenderingMode ( ) : HPdfTextRenderingMode
GetTransMatrix ( ) : HPdfTransMatrix
GetWidth ( ) : float
GetWordSpace ( ) : float
HPdfPage ( IntPtr hpage ) : System
LineTo ( float x, float y ) : void
MeasureText ( string text, float width, bool wordwrap ) : uint
MeasureText ( string text, float width, bool wordwrap, float &real_width ) : uint
MoveTextPos ( float x, float y ) : void
MoveTextPos2 ( float x, float y ) : void
MoveTo ( float x, float y ) : void
MoveToNextLine ( ) : void
Rectangle ( float x, float y, float width, float height ) : void
SetCMYKFill ( float c, float m, float y, float k ) : void
SetCMYKStroke ( float c, float m, float y, float k ) : void
SetCharSpace ( float value ) : void
SetDash ( ushort dash_ptn, uint phase ) : void
SetExtGState ( HPdfExtGState gstate ) : void
SetFlat ( float flatness ) : void
SetFontAndSize ( HPdfFont font, float size ) : void
SetGrayFill ( float gray ) : void
SetGrayStroke ( float gray ) : void
SetHeight ( float value ) : void
SetHorizontalScalling ( float value ) : void
SetLineCap ( HPdfLineCap line_cap ) : void
SetLineJoin ( HPdfLineJoin line_join ) : void
SetLineWidth ( float line_width ) : void
SetMiterLimit ( float miter_limit ) : void
SetRGBFill ( float r, float g, float b ) : void
SetRGBStroke ( float r, float g, float b ) : void
SetRotate ( ushort angle ) : void
SetSize ( HPdfPageSizes size, HPdfPageDirection direction ) : void
SetSlideShow ( HPdfTransitionStyle type, float disp_time, float trans_time ) : void
SetTextLeading ( float value ) : void
SetTextMatrix ( float a, float b, float c, float d, float x, float y ) : void
SetTextRaise ( float value ) : void
SetTextRenderingMode ( HPdfTextRenderingMode mode ) : void
SetWidth ( float value ) : void
SetWordSpace ( float value ) : void
ShowText ( string text ) : void
ShowTextNextLine ( string text ) : void
ShowTextNextLineEx ( float word_space, float char_space, string text ) : void
Stroke ( ) : void
TextOut ( float xpos, float ypos, string text ) : void
TextRect ( float left, float top, float right, float bottom, string text, HPdfTextAlignment align, uint &len ) : void
TextWidth ( string text ) : float

Private Methods

Method Description
HPDF_Page_Arc ( IntPtr page, float x, float y, float ray, float ang1, float ang2 ) : uint
HPDF_Page_BeginText ( IntPtr page ) : uint
HPDF_Page_Circle ( IntPtr page, float x, float y, float ray ) : uint
HPDF_Page_Clip ( IntPtr page ) : uint
HPDF_Page_ClosePath ( IntPtr page ) : uint
HPDF_Page_ClosePathEofillStroke ( IntPtr page ) : uint
HPDF_Page_ClosePathFillStroke ( IntPtr page ) : uint
HPDF_Page_ClosePathStroke ( IntPtr page ) : uint
HPDF_Page_Concat ( IntPtr page, float a, float b, float c, float d, float x, float y ) : uint
HPDF_Page_CreateDestination ( IntPtr page ) : IntPtr
HPDF_Page_CreateLinkAnnot ( IntPtr page, HPdfRect rect, IntPtr dst ) : IntPtr
HPDF_Page_CreateTextAnnot ( IntPtr page, HPdfRect rect, string text, IntPtr encoder ) : IntPtr
HPDF_Page_CreateURILinkAnnot ( IntPtr page, HPdfRect rect, string url ) : IntPtr
HPDF_Page_CurveTo ( IntPtr page, float x1, float y1, float x2, float y2, float x3, float y3 ) : uint
HPDF_Page_CurveTo2 ( IntPtr page, float x2, float y2, float x3, float y3 ) : uint
HPDF_Page_CurveTo3 ( IntPtr page, float x1, float y1, float x3, float y3 ) : uint
HPDF_Page_DrawImage ( IntPtr page, IntPtr image, float x, float y, float width, float height ) : uint
HPDF_Page_Ellipse ( IntPtr page, float x, float y, float xray, float yray ) : uint
HPDF_Page_EndPath ( IntPtr page ) : uint
HPDF_Page_EndText ( IntPtr page ) : uint
HPDF_Page_Eoclip ( IntPtr page ) : uint
HPDF_Page_Eofill ( IntPtr page ) : uint
HPDF_Page_EofillStroke ( IntPtr page ) : uint
HPDF_Page_ExecuteXObject ( IntPtr page, IntPtr obj ) : uint
HPDF_Page_Fill ( IntPtr page ) : uint
HPDF_Page_FillStroke ( IntPtr page ) : uint
HPDF_Page_GRestore ( IntPtr page ) : uint
HPDF_Page_GSave ( IntPtr page ) : uint
HPDF_Page_GetCMYKFill ( IntPtr page ) : HPdfCMYKColor
HPDF_Page_GetCMYKStroke ( IntPtr page ) : HPdfCMYKColor
HPDF_Page_GetCharSpace ( IntPtr page ) : float
HPDF_Page_GetCurrentFont ( IntPtr page ) : IntPtr
HPDF_Page_GetCurrentFontSize ( IntPtr page ) : float
HPDF_Page_GetCurrentPos ( IntPtr page ) : HPdfPoint
HPDF_Page_GetCurrentTextPos ( IntPtr page ) : HPdfPoint
HPDF_Page_GetDash ( IntPtr page ) : HPdfDashMode_Internal
HPDF_Page_GetFillingColorSpace ( IntPtr page ) : HPdfColorSpace
HPDF_Page_GetFlat ( IntPtr page ) : float
HPDF_Page_GetGMode ( IntPtr page ) : ushort
HPDF_Page_GetGStateDepth ( IntPtr page ) : uint
HPDF_Page_GetGrayFill ( IntPtr page ) : float
HPDF_Page_GetGrayStroke ( IntPtr page ) : float
HPDF_Page_GetHeight ( IntPtr page ) : float
HPDF_Page_GetHorizontalScalling ( IntPtr page ) : float
HPDF_Page_GetLineCap ( IntPtr page ) : HPdfLineCap
HPDF_Page_GetLineJoin ( IntPtr page ) : HPdfLineJoin
HPDF_Page_GetLineWidth ( IntPtr page ) : float
HPDF_Page_GetMiterLimit ( IntPtr page ) : float
HPDF_Page_GetRGBFill ( IntPtr page ) : HPdfRGBColor
HPDF_Page_GetRGBStroke ( IntPtr page ) : HPdfRGBColor
HPDF_Page_GetStrokingColorSpace ( IntPtr page ) : HPdfColorSpace
HPDF_Page_GetTextLeading ( IntPtr page ) : float
HPDF_Page_GetTextMatrix ( IntPtr page ) : HPdfTransMatrix
HPDF_Page_GetTextRaise ( IntPtr page ) : float
HPDF_Page_GetTextRenderingMode ( IntPtr page ) : HPdfTextRenderingMode
HPDF_Page_GetTransMatrix ( IntPtr page ) : HPdfTransMatrix
HPDF_Page_GetWidth ( IntPtr page ) : float
HPDF_Page_GetWordSpace ( IntPtr page ) : float
HPDF_Page_LineTo ( IntPtr page, float x, float y ) : uint
HPDF_Page_MeasureText ( IntPtr page, string text, float width, int wordwrap, float &real_width ) : uint
HPDF_Page_MoveTextPos ( IntPtr page, float x, float y ) : uint
HPDF_Page_MoveTextPos2 ( IntPtr page, float x, float y ) : uint
HPDF_Page_MoveTo ( IntPtr page, float x, float y ) : uint
HPDF_Page_MoveToNextLine ( IntPtr page ) : uint
HPDF_Page_Rectangle ( IntPtr page, float x, float y, float width, float height ) : uint
HPDF_Page_SetCMYKFill ( IntPtr page, float c, float m, float y, float k ) : uint
HPDF_Page_SetCMYKStroke ( IntPtr page, float c, float m, float y, float k ) : uint
HPDF_Page_SetCharSpace ( IntPtr page, float value ) : uint
HPDF_Page_SetDash ( IntPtr page, ushort array, uint num_param, uint phase ) : uint
HPDF_Page_SetExtGState ( IntPtr page, IntPtr ext_gstate ) : uint
HPDF_Page_SetFlat ( IntPtr page, float flatness ) : uint
HPDF_Page_SetFontAndSize ( IntPtr page, IntPtr hfont, float size ) : uint
HPDF_Page_SetGrayFill ( IntPtr page, float gray ) : uint
HPDF_Page_SetGrayStroke ( IntPtr page, float gray ) : uint
HPDF_Page_SetHeight ( IntPtr page, float value ) : uint
HPDF_Page_SetHorizontalScalling ( IntPtr page, float value ) : uint
HPDF_Page_SetLineCap ( IntPtr page, HPdfLineCap line_cap ) : uint
HPDF_Page_SetLineJoin ( IntPtr page, HPdfLineJoin line_join ) : uint
HPDF_Page_SetLineWidth ( IntPtr page, float line_width ) : uint
HPDF_Page_SetMiterLimit ( IntPtr page, float miter_limit ) : uint
HPDF_Page_SetRGBFill ( IntPtr page, float r, float g, float b ) : uint
HPDF_Page_SetRGBStroke ( IntPtr page, float r, float g, float b ) : uint
HPDF_Page_SetRotate ( IntPtr page, ushort angle ) : uint
HPDF_Page_SetSize ( IntPtr page, HPdfPageSizes size, HPdfPageDirection direction ) : uint
HPDF_Page_SetSlideShow ( IntPtr page, HPdfTransitionStyle type, float disp_time, float trans_time ) : uint
HPDF_Page_SetTextLeading ( IntPtr page, float value ) : uint
HPDF_Page_SetTextMatrix ( IntPtr page, float a, float b, float c, float d, float x, float y ) : uint
HPDF_Page_SetTextRaise ( IntPtr page, float value ) : uint
HPDF_Page_SetTextRenderingMode ( IntPtr page, HPdfTextRenderingMode mode ) : uint
HPDF_Page_SetWidth ( IntPtr page, float value ) : uint
HPDF_Page_SetWordSpace ( IntPtr page, float value ) : uint
HPDF_Page_ShowText ( IntPtr page, string text ) : uint
HPDF_Page_ShowTextNextLine ( IntPtr page, string text ) : uint
HPDF_Page_ShowTextNextLineEx ( IntPtr page, float word_space, float char_space, string text ) : uint
HPDF_Page_Stroke ( IntPtr page ) : uint
HPDF_Page_TextOut ( IntPtr page, float xpos, float ypos, string text ) : uint
HPDF_Page_TextRect ( IntPtr page, float left, float top, float right, float bottom, string text, HPdfTextAlignment align, uint &len ) : uint
HPDF_Page_TextWidth ( IntPtr page, string text ) : float

Method Details

Arc() public method

public Arc ( float x, float y, float ray, float ang1, float ang2 ) : void
x float
y float
ray float
ang1 float
ang2 float
return void

BeginText() public method

public BeginText ( ) : void
return void

Circle() public method

public Circle ( float x, float y, float ray ) : void
x float
y float
ray float
return void

Clip() public method

public Clip ( ) : void
return void

ClosePath() public method

public ClosePath ( ) : void
return void

ClosePathEofillStroke() public method

public ClosePathEofillStroke ( ) : void
return void

ClosePathFillStroke() public method

public ClosePathFillStroke ( ) : void
return void

ClosePathStroke() public method

public ClosePathStroke ( ) : void
return void

Concat() public method

public Concat ( float a, float b, float c, float d, float x, float y ) : void
a float
b float
c float
d float
x float
y float
return void

CreateDestination() public method

public CreateDestination ( ) : HPdfDestination
return HPdfDestination

CreateLinkAnnot() public method

public CreateLinkAnnot ( HPdfRect rect, HPdfDestination dst ) : HPdfAnnotation
rect HPdfRect
dst HPdfDestination
return HPdfAnnotation

CreateTextAnnot() public method

public CreateTextAnnot ( HPdfRect rect, string text, HPdfEncoder encoder ) : HPdfAnnotation
rect HPdfRect
text string
encoder HPdfEncoder
return HPdfAnnotation

CreateURILinkAnnot() public method

public CreateURILinkAnnot ( HPdfRect rect, string uri ) : HPdfAnnotation
rect HPdfRect
uri string
return HPdfAnnotation

CurveTo() public method

public CurveTo ( float x1, float y1, float x2, float y2, float x3, float y3 ) : void
x1 float
y1 float
x2 float
y2 float
x3 float
y3 float
return void

CurveTo2() public method

public CurveTo2 ( float x2, float y2, float x3, float y3 ) : void
x2 float
y2 float
x3 float
y3 float
return void

CurveTo3() public method

public CurveTo3 ( float x1, float y1, float x3, float y3 ) : void
x1 float
y1 float
x3 float
y3 float
return void

DrawImage() public method

public DrawImage ( HPdfImage image, float x, float y, float width, float height ) : void
image HPdfImage
x float
y float
width float
height float
return void

EndPath() public method

public EndPath ( ) : void
return void

EndText() public method

public EndText ( ) : void
return void

Eoclip() public method

public Eoclip ( ) : void
return void

Eofill() public method

public Eofill ( ) : void
return void

EofillStroke() public method

public EofillStroke ( ) : void
return void

ExecuteXObject() public method

public ExecuteXObject ( HPdfImage xobj ) : void
xobj HPdfImage
return void

Fill() public method

public Fill ( ) : void
return void

FillStroke() public method

public FillStroke ( ) : void
return void

GRestore() public method

public GRestore ( ) : void
return void

GSave() public method

public GSave ( ) : void
return void

GetCMYKFill() public method

public GetCMYKFill ( ) : HPdfCMYKColor
return HPdfCMYKColor

GetCMYKStroke() public method

public GetCMYKStroke ( ) : HPdfCMYKColor
return HPdfCMYKColor

GetCharSpace() public method

public GetCharSpace ( ) : float
return float

GetCurrentFont() public method

public GetCurrentFont ( ) : HPdfFont
return HPdfFont

GetCurrentFontSize() public method

public GetCurrentFontSize ( ) : float
return float

GetCurrentPos() public method

public GetCurrentPos ( ) : HPdfPoint
return HPdfPoint

GetCurrentTextPos() public method

public GetCurrentTextPos ( ) : HPdfPoint
return HPdfPoint

GetDash() public method

public GetDash ( ) : HPdfDashMode
return HPdfDashMode

GetFillingColorSpace() public method

public GetFillingColorSpace ( ) : HPdfColorSpace
return HPdfColorSpace

GetFlat() public method

public GetFlat ( ) : float
return float

GetGMode() public method

public GetGMode ( ) : ushort
return ushort

GetGStateDepth() public method

public GetGStateDepth ( ) : uint
return uint

GetGrayFill() public method

public GetGrayFill ( ) : float
return float

GetGrayStroke() public method

public GetGrayStroke ( ) : float
return float

GetHandle() public method

public GetHandle ( ) : IntPtr
return System.IntPtr

GetHeight() public method

public GetHeight ( ) : float
return float

GetHorizontalScalling() public method

public GetHorizontalScalling ( ) : float
return float

GetLineCap() public method

public GetLineCap ( ) : HPdfLineCap
return HPdfLineCap

GetLineJoin() public method

public GetLineJoin ( ) : HPdfLineJoin
return HPdfLineJoin

GetLineWidth() public method

public GetLineWidth ( ) : float
return float

GetMiterLimit() public method

public GetMiterLimit ( ) : float
return float

GetRGBFill() public method

public GetRGBFill ( ) : HPdfRGBColor
return HPdfRGBColor

GetRGBStroke() public method

public GetRGBStroke ( ) : HPdfRGBColor
return HPdfRGBColor

GetStrokingColorSpace() public method

public GetStrokingColorSpace ( ) : HPdfColorSpace
return HPdfColorSpace

GetTextLeading() public method

public GetTextLeading ( ) : float
return float

GetTextMatrix() public method

public GetTextMatrix ( ) : HPdfTransMatrix
return HPdfTransMatrix

GetTextRaise() public method

public GetTextRaise ( ) : float
return float

GetTextRenderingMode() public method

public GetTextRenderingMode ( ) : HPdfTextRenderingMode
return HPdfTextRenderingMode

GetTransMatrix() public method

public GetTransMatrix ( ) : HPdfTransMatrix
return HPdfTransMatrix

GetWidth() public method

public GetWidth ( ) : float
return float

GetWordSpace() public method

public GetWordSpace ( ) : float
return float

HPdfPage() public method

public HPdfPage ( IntPtr hpage ) : System
hpage System.IntPtr
return System

LineTo() public method

public LineTo ( float x, float y ) : void
x float
y float
return void

MeasureText() public method

public MeasureText ( string text, float width, bool wordwrap ) : uint
text string
width float
wordwrap bool
return uint

MeasureText() public method

public MeasureText ( string text, float width, bool wordwrap, float &real_width ) : uint
text string
width float
wordwrap bool
real_width float
return uint

MoveTextPos() public method

public MoveTextPos ( float x, float y ) : void
x float
y float
return void

MoveTextPos2() public method

public MoveTextPos2 ( float x, float y ) : void
x float
y float
return void

MoveTo() public method

public MoveTo ( float x, float y ) : void
x float
y float
return void

MoveToNextLine() public method

public MoveToNextLine ( ) : void
return void

Rectangle() public method

public Rectangle ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
return void

SetCMYKFill() public method

public SetCMYKFill ( float c, float m, float y, float k ) : void
c float
m float
y float
k float
return void

SetCMYKStroke() public method

public SetCMYKStroke ( float c, float m, float y, float k ) : void
c float
m float
y float
k float
return void

SetCharSpace() public method

public SetCharSpace ( float value ) : void
value float
return void

SetDash() public method

public SetDash ( ushort dash_ptn, uint phase ) : void
dash_ptn ushort
phase uint
return void

SetExtGState() public method

public SetExtGState ( HPdfExtGState gstate ) : void
gstate HPdfExtGState
return void

SetFlat() public method

public SetFlat ( float flatness ) : void
flatness float
return void

SetFontAndSize() public method

public SetFontAndSize ( HPdfFont font, float size ) : void
font HPdfFont
size float
return void

SetGrayFill() public method

public SetGrayFill ( float gray ) : void
gray float
return void

SetGrayStroke() public method

public SetGrayStroke ( float gray ) : void
gray float
return void

SetHeight() public method

public SetHeight ( float value ) : void
value float
return void

SetHorizontalScalling() public method

public SetHorizontalScalling ( float value ) : void
value float
return void

SetLineCap() public method

public SetLineCap ( HPdfLineCap line_cap ) : void
line_cap HPdfLineCap
return void

SetLineJoin() public method

public SetLineJoin ( HPdfLineJoin line_join ) : void
line_join HPdfLineJoin
return void

SetLineWidth() public method

public SetLineWidth ( float line_width ) : void
line_width float
return void

SetMiterLimit() public method

public SetMiterLimit ( float miter_limit ) : void
miter_limit float
return void

SetRGBFill() public method

public SetRGBFill ( float r, float g, float b ) : void
r float
g float
b float
return void

SetRGBStroke() public method

public SetRGBStroke ( float r, float g, float b ) : void
r float
g float
b float
return void

SetRotate() public method

public SetRotate ( ushort angle ) : void
angle ushort
return void

SetSize() public method

public SetSize ( HPdfPageSizes size, HPdfPageDirection direction ) : void
size HPdfPageSizes
direction HPdfPageDirection
return void

SetSlideShow() public method

public SetSlideShow ( HPdfTransitionStyle type, float disp_time, float trans_time ) : void
type HPdfTransitionStyle
disp_time float
trans_time float
return void

SetTextLeading() public method

public SetTextLeading ( float value ) : void
value float
return void

SetTextMatrix() public method

public SetTextMatrix ( float a, float b, float c, float d, float x, float y ) : void
a float
b float
c float
d float
x float
y float
return void

SetTextRaise() public method

public SetTextRaise ( float value ) : void
value float
return void

SetTextRenderingMode() public method

public SetTextRenderingMode ( HPdfTextRenderingMode mode ) : void
mode HPdfTextRenderingMode
return void

SetWidth() public method

public SetWidth ( float value ) : void
value float
return void

SetWordSpace() public method

public SetWordSpace ( float value ) : void
value float
return void

ShowText() public method

public ShowText ( string text ) : void
text string
return void

ShowTextNextLine() public method

public ShowTextNextLine ( string text ) : void
text string
return void

ShowTextNextLineEx() public method

public ShowTextNextLineEx ( float word_space, float char_space, string text ) : void
word_space float
char_space float
text string
return void

Stroke() public method

public Stroke ( ) : void
return void

TextOut() public method

public TextOut ( float xpos, float ypos, string text ) : void
xpos float
ypos float
text string
return void

TextRect() public method

public TextRect ( float left, float top, float right, float bottom, string text, HPdfTextAlignment align, uint &len ) : void
left float
top float
right float
bottom float
text string
align HPdfTextAlignment
len uint
return void

TextWidth() public method

public TextWidth ( string text ) : float
text string
return float