LinkPathRelative
OleObjectFrame.LinkPathRelative property
Returns the relative path to a linked file if present, otherwise returns an empty string. Readonly String.
public string LinkPathRelative { get; }
Remarks
In the Ppt presentations, some Ole object links may have a relative representation.
Examples
[C#]
using (Presentation presentation = new Presentation("demo.ppt"))
{
IOleObjectFrame oleFrame = presentation.Slides[0].Shapes[0] as IOleObjectFrame;
if (oleFrame != null)
{
Console.WriteLine("The relative path: " + oleFrame.LinkPathRelative);
}
}
See Also
- class OleObjectFrame
- namespace Aspose.Slides
- assembly Aspose.Slides