private SetAttribute ( string name, Object obj ) : |
||
name | string | the key for the attribute |
obj | Object | the value of the attribute |
return |
public static Chunk CreateTabspace(float spacing) { Chunk tabspace = new Chunk(" "); tabspace.SetAttribute(TABSPACE, spacing); return(tabspace); }
public static Chunk CreateWhitespace(String content, bool preserve) { Chunk whitespace = null; if (!preserve) { whitespace = new Chunk(' '); whitespace.SetAttribute(WHITESPACE, content); } else { whitespace = new Chunk(content); } return(whitespace); }
public static Chunk CreateWhitespace(String content, bool preserve) { Chunk whitespace = null; if (!preserve) { whitespace = new Chunk(' '); whitespace.SetAttribute(WHITESPACE, content); } else { whitespace = new Chunk(content); } return whitespace; }
public static Chunk createTabspace(float spacing) { Chunk tabspace = new Chunk(" "); tabspace.SetAttribute(TABSPACE, spacing); return tabspace; }