menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class WOleObject - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class WOleObject

    Represents the OLE object in the Word document.

    Inheritance
    System.Object
    OwnerHolder
    XDLSSerializableBase
    Entity
    WidgetBase
    ParagraphItem
    WOleObject
    Implements
    IXDLSSerializable
    IParagraphItem
    IEntity
    IOfficeRun
    Inherited Members
    Entity.Clone()
    Entity.IsComposite
    Entity.NextSibling
    Entity.Owner
    Entity.PreviousSibling
    OwnerHolder.Document
    OwnerHolder.m_doc
    ParagraphItem.ApplyStyle(String)
    ParagraphItem.CloneRun()
    ParagraphItem.Dispose()
    ParagraphItem.IsDeleteRevision
    ParagraphItem.IsInsertRevision
    ParagraphItem.m_charFormat
    ParagraphItem.OwnerMathRunElement
    ParagraphItem.OwnerParagraph
    XDLSSerializableBase.InitXDLSHolder()
    XDLSSerializableBase.IXDLSSerializable.ReadXmlAttributes(IXDLSAttributeReader)
    XDLSSerializableBase.IXDLSSerializable.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.IXDLSSerializable.RestoreReference(String, Int32)
    XDLSSerializableBase.IXDLSSerializable.WriteXmlAttributes(IXDLSAttributeWriter)
    XDLSSerializableBase.IXDLSSerializable.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.IXDLSSerializable.XDLSHolder
    XDLSSerializableBase.ReadXmlAttributes(IXDLSAttributeReader)
    XDLSSerializableBase.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.RestoreReference(String, Int32)
    XDLSSerializableBase.WriteXmlAttributes(IXDLSAttributeWriter)
    XDLSSerializableBase.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.XDLSHolder
    Namespace: Syncfusion.DocIO.DLS
    Assembly: Syncfusion.DocIO.Portable.dll
    Syntax
    public class WOleObject : ParagraphItem, IXDLSSerializable, IParagraphItem, IEntity, IOfficeRun, ILeafWidget, IWidget

    Constructors

    WOleObject(WordDocument)

    Initializes a new instance of the WOleObject class with the specified WordDocument instance.

    Declaration
    public WOleObject(WordDocument doc)
    Parameters
    Type Name Description
    WordDocument doc

    The WordDocument instance.

    Properties

    Container

    Declaration
    public Stream Container { get; }
    Property Value
    Type Description
    System.IO.Stream

    The System.IO.Stream that represents the storage container of OLE object.

    DisplayAsIcon

    Declaration
    public bool DisplayAsIcon { get; set; }
    Property Value
    Type
    System.Boolean
    See Also
    AppendOleObject(Stream, WPicture, String)

    EntityType

    Gets the type of the entity. Read-only.

    Declaration
    public override EntityType EntityType { get; }
    Property Value
    Type Description
    EntityType

    The EntityType of the current item.

    Overrides
    Entity.EntityType

    LinkPath

    Gets or sets the link path of the OLE object.

    Declaration
    public string LinkPath { get; set; }
    Property Value
    Type Description
    System.String

    The string that specifies the link address.

    LinkType

    Gets the type of the OLE object. Read-only.

    Declaration
    public OleLinkType LinkType { get; }
    Property Value
    Type Description
    OleLinkType

    The OleLinkType member that specifies the type of the OLE object.

    NativeData

    Gets the native data of embedded OLE object. Read-only.

    Declaration
    public byte[] NativeData { get; }
    Property Value
    Type Description
    System.Byte[]

    The byte array that specifies the native data.

    ObjectType

    Gets or sets the type of the OLE object.

    Declaration
    public string ObjectType { get; set; }
    Property Value
    Type Description
    System.String

    The string that specifies the type of the OLE object.

    OlePicture

    Gets the OLE picture. Read-only.

    Declaration
    public WPicture OlePicture { get; }
    Property Value
    Type Description
    WPicture

    The WPicture instance that represents the OLE picture.

    OleStorageName

    Gets or sets the name of the OLE Object storage.

    Declaration
    public string OleStorageName { get; set; }
    Property Value
    Type Description
    System.String

    The string that specifies the name of the OLE storage.

    PackageFileName

    Gets the name of file embedded in the package(only if OleType is "Package"). Read-only.

    Declaration
    public string PackageFileName { get; }
    Property Value
    Type Description
    System.String

    The string that represents the file name.

    Methods

    CloneImpl()

    Creates a duplicate copy of the entity.

    Declaration
    protected override object CloneImpl()
    Returns
    Type Description
    System.Object

    An System.Object reference to the newly created object.

    Overrides
    ParagraphItem.CloneImpl()

    CreateLayoutInfo()

    Creates layout information.

    Declaration
    protected override void CreateLayoutInfo()
    Overrides
    WidgetBase.CreateLayoutInfo()

    Implements

    IXDLSSerializable
    IParagraphItem
    IEntity
    IOfficeRun
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved