Paragraph
AppendOleObject Method (String, String,
Byte
, DocPicture)
|
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 progId,
string clsId,
byte[] nativeData,
DocPicture olePicture
)
Public Function AppendOleObject (
progId As String,
clsId As String,
nativeData As Byte(),
olePicture As DocPicture
) As DocOleObject
public:
DocOleObject^ AppendOleObject(
String^ progId,
String^ clsId,
array<unsigned char>^ nativeData,
DocPicture^ olePicture
)
member AppendOleObject :
progId : string *
clsId : string *
nativeData : byte[] *
olePicture : DocPicture -> DocOleObject
Parameters
-
progId
-
Type:
System
String
The programmatic identifier.
-
clsId
-
Type:
System
String
The class identifier.
-
nativeData
-
Type:
System
Byte
The native data of embedded OLE object.
-
olePicture
-
Type:
Spire.Doc.Fields
DocPicture
The OLE picture.
Return Value
Type:
DocOleObject
See Also