DocumentView (gb.form)
该控件是文档查看器。
允许使用多种不同的排列方式显示不同大小的多个文档页面。
属性
Arrangement
|
Return or set how the different pages are arranged inside the view.
|
AutoCenter
|
Return or set if the page must be centered in the view.
|
Border
|
Return or set if the document view has a border.
|
Center
|
Return or set if the page must be centered in the view.
|
Column
|
Return or set the number of columns used for layouting pages.
|
Columns
|
Return or set the number of columns used for layouting pages.
|
Count
|
Return or set the number of pages in the document.
|
Desaturate
|
Return or set if the preview is automatically desaturated.
|
DocHeight
|
Return or set the default height of a page in millimiters.
|
DocWidth
|
Return or set the default width of a page in millimiters.
|
FirstVisibleDocument
|
Return the index of the first visible page.
|
FirstVisiblePage
|
Return the index of the first visible page.
|
LastVisibleDocument
|
Return the index of the last visible page.
|
LastVisiblePage
|
Return the index of the last visible page.
|
Layout
|
Return a virtual object used for defining the layout of a specific page.
|
Max
|
Return the number of pages in the document minus one.
|
Padding
|
Return or set the padding inside the view in millimiters.
|
PageHeight
|
Return or set the default height of a page in millimiters.
|
PageWidth
|
Return or set the default width of a page in millimiters.
|
Scale
|
Return or set the zoom factor of the view.
|
ShowPage
|
Return or set if the page number must be displayed inside the view.
|
ShowShadow
|
Return or set if pages are drawn with a little shadow.
|
Spacing
|
Return or set the spacing between the different pages in millimiters.
|
Zoom
|
Return or set the zoom factor of the view.
|
Inherited properties
方法
Find
|
Return the page number under a specific mouse cursor position.
|
Goto
|
Move the view to a specified page.
|
Refresh
|
Refresh the view contents.
|
Reset
|
Resets the view.
|
Inherited methods
事件
Draw
|
This event is raised when a specific page preview must me drawn
|
Finished
|
This event is raised when all page preview have been drawn.
|
Layout
|
This event is raised so that each page layout can be defined independently.
|
Zoom
|
This event is raised when the zoom level has changed.
|
Inherited events