Class SmartDocument
Represents a smart document value.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TopSolid.Kernel.Automating
Assembly: cs.temp.dll.dll
Syntax
[AvailableSinceVersion(7, 17, 0, 0)]
public abstract class SmartDocument : SmartObject
Remarks
This class is available since v7.17.
Constructors
SmartDocument(DocumentId)
Initializes a new instance of the SmartDocument class of type Basic
Declaration
public SmartDocument(DocumentId inDocumentId)
Parameters
Type | Name | Description |
---|---|---|
DocumentId | inDocumentId | Document identifier of the document to reference. |
SmartDocument(DocumentId, DocumentReferenceType)
Initializes a new instance of the SmartDocument class of type Basic
Declaration
public SmartDocument(DocumentId inDocumentId, DocumentReferenceType inReferenceType)
Parameters
Type | Name | Description |
---|---|---|
DocumentId | inDocumentId | Document identifier of the document to reference. |
DocumentReferenceType | inReferenceType | Document reference type of the SmartDocument. |
SmartDocument(ElementId)
Initializes a new instance of the SmartDocument class of type Element.
Declaration
public SmartDocument(ElementId inElementId)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inElementId | Identifier of providing element. |
SmartDocument(ElementId, DocumentReferenceType)
Initializes a new instance of the SmartDocument class of type Element.
Declaration
public SmartDocument(ElementId inElementId, DocumentReferenceType inReferenceType)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inElementId | Identifier of providing element. |
DocumentReferenceType | inReferenceType | Document reference type of the SmartDocument. |
Fields
Document
Document of the smart object.
Declaration
public DocumentId Document
Field Value
Type | Description |
---|---|
DocumentId |
ElementId
Providing element identifier, or empty if none.
Declaration
public ElementId ElementId
Field Value
Type | Description |
---|---|
ElementId |
ReferenceType
Providing element item label, or empty if none.
Declaration
public DocumentReferenceType ReferenceType
Field Value
Type | Description |
---|---|
DocumentReferenceType |
Type
Type of smart document.
Declaration
public SmartDocumentType Type
Field Value
Type | Description |
---|---|
SmartDocumentType |