C# Class OfficeScript.Util

ファイルを表示 Open project: Miramac/node-office-script

Public Methods

Method Description
Attr ( object thisObject, object>.Dictionary parameters, Func Invoke ) : object

Attr ( object thisObject, string name, object value, Func Invoke ) : object

BGRtoRGB ( string value ) : string

Helper for Fill because .Net treat color as RGB, while Netoffice (Interop aswell) treats color as BGR

ShapeTextReplace ( NetOffice.PowerPointApi textRange, string>.Dictionary replaces ) : void

Method Details

Attr() public static method

public static Attr ( object thisObject, object>.Dictionary parameters, Func Invoke ) : object
thisObject object
parameters object>.Dictionary
Invoke Func
return object

Attr() public static method

public static Attr ( object thisObject, string name, object value, Func Invoke ) : object
thisObject object
name string
value object
Invoke Func
return object

BGRtoRGB() public static method

Helper for Fill because .Net treat color as RGB, while Netoffice (Interop aswell) treats color as BGR
public static BGRtoRGB ( string value ) : string
value string
return string

ShapeTextReplace() public static method

public static ShapeTextReplace ( NetOffice.PowerPointApi textRange, string>.Dictionary replaces ) : void
textRange NetOffice.PowerPointApi
replaces string>.Dictionary
return void