Added New Word Properties and Methods
This commit is contained in:
@@ -205,6 +205,10 @@ namespace LBWordLibrary
|
||||
get { return (GetProperty("Start") as int? ?? 0); }
|
||||
set { SetProperty("Start", value); }
|
||||
}
|
||||
public LBInlineShapes InlineShapes
|
||||
{
|
||||
get { return new LBInlineShapes(GetProperty("InlineShapes")); }
|
||||
}
|
||||
public void WholeStory()
|
||||
{
|
||||
InvokeMethod("WholeStory");
|
||||
@@ -229,6 +233,14 @@ namespace LBWordLibrary
|
||||
{
|
||||
InvokeMethod("Copy");
|
||||
}
|
||||
public int EndKey()
|
||||
{
|
||||
return InvokeMethod("EndKey", Missing.Value, Missing.Value) as int? ?? 0;
|
||||
}
|
||||
public int EndKey(object Unit, object Extend)
|
||||
{
|
||||
return InvokeMethod("EndKey", Unit, Extend) as int? ?? 0;
|
||||
}
|
||||
}
|
||||
public partial class LBDocumentClass : LBComObject
|
||||
{
|
||||
@@ -471,6 +483,21 @@ namespace LBWordLibrary
|
||||
wdInWordMail = 37,
|
||||
wdInClipboard = 38
|
||||
}
|
||||
public partial class LBInlineShapes : LBComObjectList<LBInlineShapes, LBInlineShape> /* Collection */
|
||||
{
|
||||
public LBInlineShapes(Object item)
|
||||
{
|
||||
Item = item;
|
||||
}
|
||||
public LBInlineShape AddPicture(string FileName)
|
||||
{
|
||||
return new LBInlineShape(InvokeMethod("AddPicture", FileName, Missing.Value, Missing.Value, Missing.Value));
|
||||
}
|
||||
public LBInlineShape AddPicture(string FileName, object LinkToFile, object SaveWithDocument, object Range)
|
||||
{
|
||||
return new LBInlineShape(InvokeMethod("AddPicture", FileName, LinkToFile, SaveWithDocument, Range));
|
||||
}
|
||||
}
|
||||
public enum LBWdExportFormat
|
||||
{
|
||||
wdExportFormatPDF = 17,
|
||||
@@ -635,6 +662,21 @@ namespace LBWordLibrary
|
||||
wdColorWhite = 16777215,
|
||||
wdColorAutomatic = -16777216
|
||||
}
|
||||
public partial class LBInlineShape : LBComObject
|
||||
{
|
||||
public LBInlineShape() { }
|
||||
public LBInlineShape(Object item) : base(item) { }
|
||||
public float Height
|
||||
{
|
||||
get { return (GetProperty("Height") as float? ?? 0); }
|
||||
set { SetProperty("Height", value); }
|
||||
}
|
||||
public float Width
|
||||
{
|
||||
get { return (GetProperty("Width") as float? ?? 0); }
|
||||
set { SetProperty("Width", value); }
|
||||
}
|
||||
}
|
||||
public partial class LBPages : LBComObjectList<LBPages, LBPage> /* Collection */
|
||||
{
|
||||
public LBPages(Object item)
|
||||
|
Reference in New Issue
Block a user