EmfTextUtils
Contents
[
Hide
]
Inheritance: java.lang.Object
public class EmfTextUtils
Constructors
Constructor | Description |
---|---|
EmfTextUtils() |
Methods
EmfTextUtils()
public EmfTextUtils()
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getCharaterSpaces(System.Drawing.RectangleF[] ranges)
public static long[] getCharaterSpaces(System.Drawing.RectangleF[] ranges)
Parameters:
Parameter | Type | Description |
---|---|---|
ranges | com.aspose.ms.System.Drawing.RectangleF[] |
Returns: long[]
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class>
getReferencePoint(System.Drawing.RectangleF[] ranges, long textAlignmentMode)
public static System.Drawing.Point getReferencePoint(System.Drawing.RectangleF[] ranges, long textAlignmentMode)
Parameters:
Parameter | Type | Description |
---|---|---|
ranges | com.aspose.ms.System.Drawing.RectangleF[] | |
textAlignmentMode | long |
Returns: com.aspose.ms.System.Drawing.Point
hashCode()
public native int hashCode()
Returns: int
measureCharacterRanges(String text, System.Drawing.Font font, System.Drawing.RectangleF rectangle, long textAlignmentMode, int resolution, boolean isNoWrap)
public static System.Drawing.RectangleF[] measureCharacterRanges(String text, System.Drawing.Font font, System.Drawing.RectangleF rectangle, long textAlignmentMode, int resolution, boolean isNoWrap)
Parameters:
Parameter | Type | Description |
---|---|---|
text | java.lang.String | |
font | com.aspose.ms.System.Drawing.Font | |
rectangle | com.aspose.ms.System.Drawing.RectangleF | |
textAlignmentMode | long | |
resolution | int | |
isNoWrap | boolean |
Returns: com.aspose.ms.System.Drawing.RectangleF[]
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
offsetRectangle(System.Drawing.RectangleF nativeRectangle, boolean isNoWrap, long textAlignmentMode)
public static System.Drawing.RectangleF offsetRectangle(System.Drawing.RectangleF nativeRectangle, boolean isNoWrap, long textAlignmentMode)
Parameters:
Parameter | Type | Description |
---|---|---|
nativeRectangle | com.aspose.ms.System.Drawing.RectangleF | |
isNoWrap | boolean | |
textAlignmentMode | long |
Returns: com.aspose.ms.System.Drawing.RectangleF
reOffsetRectangle(System.Drawing.RectangleF symbolArea, System.Drawing.RectangleF nativeRectangle, System.Drawing.RectangleF offsetRectangle, long textAlignmentMode)
public static void reOffsetRectangle(System.Drawing.RectangleF symbolArea, System.Drawing.RectangleF nativeRectangle, System.Drawing.RectangleF offsetRectangle, long textAlignmentMode)
Parameters:
Parameter | Type | Description |
---|---|---|
symbolArea | com.aspose.ms.System.Drawing.RectangleF | |
nativeRectangle | com.aspose.ms.System.Drawing.RectangleF | |
offsetRectangle | com.aspose.ms.System.Drawing.RectangleF | |
textAlignmentMode | long |
textOptionsToTextAlignment(TextOptions aOptions)
public static long textOptionsToTextAlignment(TextOptions aOptions)
Parameters:
Parameter | Type | Description |
---|---|---|
aOptions | TextOptions |
Returns: long
toString()
public String toString()
Returns: java.lang.String
tryToSplitLongTextInRect(String text, System.Drawing.Font font, System.Drawing.RectangleF rectangle, TextOptions aOptions, int resolution)
public static System.Collections.Generic.List<Tup<String,System.Drawing.RectangleF>> tryToSplitLongTextInRect(String text, System.Drawing.Font font, System.Drawing.RectangleF rectangle, TextOptions aOptions, int resolution)
Parameters:
Parameter | Type | Description |
---|---|---|
text | java.lang.String | |
font | com.aspose.ms.System.Drawing.Font | |
rectangle | com.aspose.ms.System.Drawing.RectangleF | |
aOptions | TextOptions | |
resolution | int |
Returns: List
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |