B2019-108
Improved library for Word Content Import Added Select Method to Range Added [] to Paragraphs Added ConvertToInlineShape method to Shape Added ScaleHeight property to Shape Added ScaleWidth property to Shape
This commit is contained in:
parent
cc1ccb37d7
commit
8471cfb899
@ -571,6 +571,10 @@ namespace LBWordLibrary
|
||||
{
|
||||
return new LBRange(InvokeMethod("GoTo", What, Which, Count, Name));
|
||||
}
|
||||
public LBRange Select()
|
||||
{
|
||||
return new LBRange(InvokeMethod("Select"));
|
||||
}
|
||||
}
|
||||
public partial class LBParagraphFormatClass : LBComObject
|
||||
{
|
||||
@ -800,6 +804,14 @@ namespace LBWordLibrary
|
||||
}
|
||||
public partial class LBParagraphs : LBComObjectList<LBParagraphs, LBParagraph> /* Collection */
|
||||
{
|
||||
// C2019-021 RHM 5/15/2019 Added newe methods and properties for Import Word Content
|
||||
public LBParagraph this[int item]
|
||||
{
|
||||
get // Get a Cell from a List
|
||||
{
|
||||
return new LBParagraph(base[item]);
|
||||
}
|
||||
}
|
||||
public LBParagraphs(Object item)
|
||||
{
|
||||
Item = item;
|
||||
@ -1319,6 +1331,10 @@ namespace LBWordLibrary
|
||||
{
|
||||
public LBShape() { }
|
||||
public LBShape(Object item) : base(item) { }
|
||||
public void ConvertToInlineShape()
|
||||
{
|
||||
InvokeMethod("ConvertToInlineShape");
|
||||
}
|
||||
public float Height
|
||||
{
|
||||
get { return (GetProperty("Height") as float? ?? 0); }
|
||||
@ -1329,6 +1345,16 @@ namespace LBWordLibrary
|
||||
get { return (GetProperty("Width") as float? ?? 0); }
|
||||
set { SetProperty("Width", value); }
|
||||
}
|
||||
//public float ScaleHeight
|
||||
//{
|
||||
// get { return (GetProperty("ScaleHeight") as float? ?? 0); }
|
||||
// set { SetProperty("ScaleHeight", value); }
|
||||
//}
|
||||
//public float ScaleWidth
|
||||
//{
|
||||
// get { return (GetProperty("ScaleWidth") as float? ?? 0); }
|
||||
// set { SetProperty("ScaleWidth", value); }
|
||||
//}
|
||||
public LBRange Anchor
|
||||
{
|
||||
get { return new LBRange(GetProperty("Anchor")); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user