Appends the OLE object into paragraph.

Namespace: Spire.Doc.Documents
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
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
String
The path to file.
olePicture
DocPicture
The OLE picture.
type
OleObjectType
The type of OLE object.

Return Value

DocOleObject

Implements

IParagraph..::..AppendOleObject(String, DocPicture, OleObjectType)

See Also