ShadowType

ShadowType enumeration

Anger typen av en formskugga.

public enum ShadowType

Värderingar

namnVärdeBeskrivning
ShadowMixed-2Inga av de fördefinierade skuggförinställningarna.
Shadow11Första skuggtyp.
Shadow1010Tionde skuggtyp.
Shadow1111Elfte skuggtyp.
Shadow1212Tolfte skuggtyp.
Shadow1313Trettonde skuggtyp.
Shadow1414Fjortonde skuggtyp.
Shadow1515Femtonde skuggtyp.
Shadow1616Sextonde skuggtyp.
Shadow1717Sjuttonde skuggtyp.
Shadow1818Artonde skuggtyp.
Shadow1919Nittonde skuggtyp.
Shadow22Andra skuggtyp.
Shadow2020Tjugonde skuggtyp.
Shadow2121Typ av tjugoförsta skugga.
Shadow2222Typ av skugga av typen tjugo sekunder.
Shadow2323Typ av tjugotredje skugga.
Shadow2424Tjugofyra skuggtyp.
Shadow2525Tjugofemte skuggtyp.
Shadow2626Typ av tjugosjätte skugga.
Shadow2727Tjugosjunde skuggtyp.
Shadow2828Typ av tjugoåttonde skugga.
Shadow2929Tjugonionde skuggtyp.
Shadow33Tredje skuggtyp.
Shadow3030Trettionde skuggtyp.
Shadow3131Typ av trettioförsta skugga.
Shadow3232Trettio sekunders skuggtyp.
Shadow3333Trettiotre skuggtyp.
Shadow3434Trettiofjärde skuggtyp.
Shadow3535Trettiofemte skuggans typ.
Shadow3636Typ av trettiosjätte skugga.
Shadow3737Trettiosjunde skuggtyp.
Shadow3838Trettioåttonde skuggtyp.
Shadow3939Trettionionde skuggtyp.
Shadow44Fjärde skuggtyp.
Shadow4040Fyrtionde skuggtyp.
Shadow4141Fyrtioförsta skuggtypen.
Shadow4242Fyrtio sekunders skuggtyp.
Shadow4343Fyrtio tredje skuggtyp.
Shadow55Femte skuggatyp.
Shadow66Sjätte skuggtyp.
Shadow77Sjunde skuggtyp.
Shadow88Åttonde skuggatyp.
Shadow99Nionde skuggtyp.

Anmärkningar

Skuggtyp är inte ett enkelt attribut, utan en förinställning som samtidigt ställer in flera attribut som bildar skuggans utseende.

Exempel

Visar hur man arbetar med skuggformatering för formen.

Document doc = new Document(MyDir + "Shape stroke pattern border.docx");
Shape shape = (Shape)doc.GetChildNodes(NodeType.Shape, true)[0];

if (shape.ShadowFormat.Visible && shape.ShadowFormat.Type == ShadowType.Shadow2)
    shape.ShadowFormat.Type = ShadowType.Shadow7;

if (shape.ShadowFormat.Type == ShadowType.ShadowMixed)
    shape.ShadowFormat.Clear();

Se även