'宣言 Public Class ScriptingOptions
'使用法 Dim instance As ScriptingOptions
public class ScriptingOptions
'宣言 Public Class ScriptingOptions
'使用法 Dim instance As ScriptingOptions
public class ScriptingOptions
The following tables list the possible contexts, and the identifiers that can be used in scripts and expressions to access context-dependent document data:
Id (type) | Meaning |
---|---|
Document (C1.C1Preview.C1PrintDocument) | The current document. |
RenderObject (C1.C1Preview.RenderObject) | The current render object. |
RenderFragment (C1.C1Preview.RenderFragment) | The current render fragment. |
Page (C1.C1Preview.C1Page) | The current page. |
PageNo (System.Int32) | The current 1-based page number. |
PageCount (System.Int32) | The total page count. |
PageX (System.Int32) | The current 1-based horizontal page number. |
PageXCount (System.Int32) | The maximum horizontal page count. |
PageY (System.Int32) | The current 1-based vertical (regular) page number. |
PageYCount (System.Int32) | The total vertical page count. |
Aggregates (C1.C1Preview.DataBinding.AggregateCollection) | The list of aggregates defined on the current document. |
DataBinding (C1.C1Preview.DataBinding.C1DataBinding) | The active databinding (may differ from the value of the C1.C1Preview.RenderObject.DataBinding property on the current render object, e.g. if it is not defined and parent's databinding is being used). |
Fields (C1.C1Preview.DataBinding.FieldCollection) | A shortcut to C1.C1Preview.DataBinding.C1DataBinding.Fields on the active databinding. |
RowNumber (System.Int32) | A shortcut to C1.C1Preview.DataBinding.C1DataBinding.RowNumber on the active databinding. |
Id (type) | Meaning |
---|---|
Document (C1.C1Preview.C1PrintDocument) | The current document. |
DataBinding (C1.C1Preview.DataBinding.C1DataBinding) | The current databinding. |
Fields (C1.C1Preview.DataBinding.FieldCollection) | The C1.C1Preview.DataBinding.C1DataBinding.Fields collection of the current databinding. |
Parent (C1.C1Preview.DataBinding.C1DataBinding) | The parent databinding. Normally this is the most nested databinding defined on a parent of the object containing the current databinding. For a C1.C1Preview.TableVectorGroup, this may be the databinding defined on another row/column group if that group encloses the current group (i.e. contains all its rows/columns). |
Id (type) | Meaning |
---|---|
Document (C1.C1Preview.C1PrintDocument) | The current document. |
Fields (C1.C1Preview.DataBinding.DataSetFieldCollection) | The C1.C1Preview.DataBinding.DataSet.Fields collection of the current data set. |
Id (type) | Meaning |
---|---|
Document (C1.C1Preview.C1PrintDocument) | The current document. |
Tags (C1.C1Preview.TagCollection) | The C1.C1Preview.C1PrintDocument.Tags collection of the current document (this is a shortcut to Document.Tags). |
Id (type) | Meaning |
---|---|
Document (C1.C1Preview.C1PrintDocument) | The current document. |
RenderObject (C1.C1Preview.RenderObject) | The current render object. |
Tags (C1.C1Preview.TagCollection) | The C1.C1Preview.C1PrintDocument.Tags collection of the current document (this is a shortcut to Document.Tags). |
Id (type) | Meaning |
---|---|
Document (C1.C1Preview.C1PrintDocument) | The current document. |
RenderObject (C1.C1Preview.RenderObject) | The current render object. |
RenderFragment (C1.C1Preview.RenderFragment) | The fragment that has resolved. |
Tags (C1.C1Preview.TagCollection) | The C1.C1Preview.C1PrintDocument.Tags collection of the current document (this is a shortcut to Document.Tags). |
System.Object
C1.C1Preview.Scripting.ScriptingOptions