Paragraph
AppendOleObject Method (String, DocPicture, OleObjectType)
|
Appends the OLE object into paragraph.
Namespace:
Spire.Doc.Documents
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public DocOleObject AppendOleObject(
string pathToFile,
DocPicture olePicture,
OleObjectType type
)
Public Function AppendOleObject (
pathToFile As String,
olePicture As DocPicture,
type As OleObjectType
) As DocOleObject
public:
virtual DocOleObject^ AppendOleObject(
String^ pathToFile,
DocPicture^ olePicture,
OleObjectType type
) sealed
abstract AppendOleObject :
pathToFile : string *
olePicture : DocPicture *
type : OleObjectType -> DocOleObject
override AppendOleObject :
pathToFile : string *
olePicture : DocPicture *
type : OleObjectType -> DocOleObject
Parameters
-
pathToFile
-
Type:
System
String
The path to file.
-
olePicture
-
Type:
Spire.Doc.Fields
DocPicture
The OLE picture.
-
type
-
Type:
Spire.Doc.Documents
OleObjectType
The type of OLE object.
Return Value
Type:
DocOleObject
Implements
IParagraph
AppendOleObject(String, DocPicture, OleObjectType)
See Also