Utilities Public class
Diagram
flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text iTextSharp.text.Utilities[[Utilities]] end
Members
Methods
Public Static methods
|
Returns |
Name |
|---|---|
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
Details
Constructors
Utilities
public Utilities()
Methods
GetKeySet
Source code
public static ICollection<K> GetKeySet<K, V>(Dictionary<K, V> table) where K : where V :
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
table |
AddToArray
Source code
public static object AddToArray(object[][] original, object[] item)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
original |
|
|
|
item |
CheckTrueOrFalse
Source code
public static bool CheckTrueOrFalse(Properties attributes, string key)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
attributes |
|
|
|
key |
ToURL
Source code
public static Uri ToURL(string filename)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
filename |
a given filename |
Summary
This method makes a valid URL from a given filename.
Remarks
Returns
a valid URL
UnEscapeURL
Source code
public static string UnEscapeURL(string src)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
src |
Skip
Source code
public static void Skip(Stream istr, int size)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
istr |
the stream |
|
|
size |
the number of bytes to skip |
Summary
This method is an alternative for the Stream.Skip()-method that doesn't seem to work properly for big values of size.
MillimetersToPoints
Source code
public static float MillimetersToPoints(float value)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
value |
MillimetersToInches
Source code
public static float MillimetersToInches(float value)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
value |
PointsToMillimeters
Source code
public static float PointsToMillimeters(float value)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
value |
PointsToInches
Source code
public static float PointsToInches(float value)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
value |
InchesToMillimeters
Source code
public static float InchesToMillimeters(float value)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
value |
InchesToPoints
Source code
public static float InchesToPoints(float value)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
value |
IsSurrogateHigh
Source code
public static bool IsSurrogateHigh(char c)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
c |
IsSurrogateLow
Source code
public static bool IsSurrogateLow(char c)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
c |
IsSurrogatePair [1/2]
Source code
public static bool IsSurrogatePair(string text, int idx)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
text |
|
|
|
idx |
IsSurrogatePair [2/2]
Source code
public static bool IsSurrogatePair(char[] text, int idx)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
text |
|
|
|
idx |
ConvertToUtf32 [1/3]
Source code
public static int ConvertToUtf32(char highSurrogate, char lowSurrogate)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
highSurrogate |
|
|
|
lowSurrogate |
ConvertToUtf32 [2/3]
Source code
public static int ConvertToUtf32(char[] text, int idx)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
text |
|
|
|
idx |
ConvertToUtf32 [3/3]
Source code
public static int ConvertToUtf32(string text, int idx)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
text |
|
|
|
idx |
ConvertFromUtf32
Source code
public static string ConvertFromUtf32(int codePoint)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
codePoint |
ReadFileToString
Source code
public static string ReadFileToString(string path)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
path |
ConvertToHex
Source code
public static string ConvertToHex(byte[] bytes)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
bytes |
ComputeTabSpace [1/2]
Source code
public static float ComputeTabSpace(float lx, float rx, float tab)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
lx |
|
|
|
rx |
|
|
|
tab |
ComputeTabSpace [2/2]
Source code
public static float ComputeTabSpace(float width, float tab)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
width |
|
|
|
tab |
Max
Source code
public static float Max(float[] array)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
array |
Min
Source code
public static float Min(float[] array)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
array |
Generated with ModularDoc