C# 클래스 PdfSharp.Pdf.PdfPage

Represents a page in a PDF document.
상속: PdfSharp.Pdf.PdfDictionary, IContentStream
파일 보기 프로젝트 열기: DavidS/MigraDoc 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetFontName string
GetFontName string
GetFormName string
GetImageName string
IContentStream string
IContentStream string
IContentStream string
IContentStream string
InheritValues void
PdfPage System
PrepareForSave void
TryGetFontName string
WriteObject void

공개 메소드들

메소드 설명
AddDocumentLink ( PdfSharp.Pdf.PdfRectangle rect, int destinationPage ) : PdfSharp.Pdf.Annotations.PdfLinkAnnotation

Adds an intra document link.

AddFileLink ( PdfSharp.Pdf.PdfRectangle rect, string fileName ) : PdfSharp.Pdf.Annotations.PdfLinkAnnotation

Adds a link to a file.

AddWebLink ( PdfSharp.Pdf.PdfRectangle rect, string url ) : PdfSharp.Pdf.Annotations.PdfLinkAnnotation

Adds a link to the Web.

Close ( ) : void

Closes the page. A closes page cannot be modified anymore and it is not possible to get an XGraphics object for a closed page. Closing a page is not required, but may saves resources if the document has many pages.

Initialize ( ) : void
PdfPage ( ) : System

Initializes a new page. The page must be added to a document before it can be used.

PdfPage ( PdfSharp.Pdf.PdfDocument document ) : System

Initializes a new instance of the PdfPage class.

비공개 메소드들

메소드 설명
GetFontName ( PdfSharp.Drawing.XFont font, PdfSharp.Pdf.Advanced.PdfFont &pdfFont ) : string

Gets the resource name of the specified font within this page.

GetFontName ( string idName, byte fontData, PdfSharp.Pdf.Advanced.PdfFont &pdfFont ) : string

Gets the resource name of the specified font data within this page.

GetFormName ( PdfSharp.Drawing.XForm form ) : string

Gets the resource name of the specified form within this page.

GetImageName ( PdfSharp.Drawing.XImage image ) : string

Gets the resource name of the specified image within this page.

IContentStream ( PdfSharp.Drawing.XFont font, PdfSharp.Pdf.Advanced.PdfFont &pdfFont ) : string
IContentStream ( PdfSharp.Drawing.XForm form ) : string

Implements the interface because the primary function is internal.

IContentStream ( PdfSharp.Drawing.XImage image ) : string

Implements the interface because the primary function is internal.

IContentStream ( string idName, byte fontData, PdfSharp.Pdf.Advanced.PdfFont &pdfFont ) : string
InheritValues ( PdfSharp.Pdf.PdfDictionary page, InheritedValues values ) : void

Inherit values from parent node.

PdfPage ( PdfSharp.Pdf.PdfDictionary dict ) : System
PrepareForSave ( ) : void
TryGetFontName ( string idName, PdfSharp.Pdf.Advanced.PdfFont &pdfFont ) : string

Tries to get the resource name of the specified font data within this page. Returns null if no such font exists.

WriteObject ( PdfSharp.Pdf.IO.PdfWriter writer ) : void

메소드 상세

AddDocumentLink() 공개 메소드

Adds an intra document link.
public AddDocumentLink ( PdfSharp.Pdf.PdfRectangle rect, int destinationPage ) : PdfSharp.Pdf.Annotations.PdfLinkAnnotation
rect PdfSharp.Pdf.PdfRectangle The rect.
destinationPage int The destination page.
리턴 PdfSharp.Pdf.Annotations.PdfLinkAnnotation

AddFileLink() 공개 메소드

Adds a link to a file.
public AddFileLink ( PdfSharp.Pdf.PdfRectangle rect, string fileName ) : PdfSharp.Pdf.Annotations.PdfLinkAnnotation
rect PdfSharp.Pdf.PdfRectangle The rect.
fileName string Name of the file.
리턴 PdfSharp.Pdf.Annotations.PdfLinkAnnotation

AddWebLink() 공개 메소드

Adds a link to the Web.
public AddWebLink ( PdfSharp.Pdf.PdfRectangle rect, string url ) : PdfSharp.Pdf.Annotations.PdfLinkAnnotation
rect PdfSharp.Pdf.PdfRectangle The rect.
url string The URL.
리턴 PdfSharp.Pdf.Annotations.PdfLinkAnnotation

Close() 공개 메소드

Closes the page. A closes page cannot be modified anymore and it is not possible to get an XGraphics object for a closed page. Closing a page is not required, but may saves resources if the document has many pages.
public Close ( ) : void
리턴 void

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

PdfPage() 공개 메소드

Initializes a new page. The page must be added to a document before it can be used.
public PdfPage ( ) : System
리턴 System

PdfPage() 공개 메소드

Initializes a new instance of the PdfPage class.
public PdfPage ( PdfSharp.Pdf.PdfDocument document ) : System
document PdfSharp.Pdf.PdfDocument The document.
리턴 System