Class COMHelper

This is a helper class with methods COM clients can use to set properties of objects.

System.Object
  Stonefield.Query.ReportEngine.COMHelper
public static class COMHelper : object

Class Members

MemberDescription

GetFont

Helper method for COM clients to get a Font with the desired settings.

public static Font GetFont(string fontName,
    int fontSize,
    bool bold,
    bool italics,
    bool underline,
    bool strikethrough);

SetBackColor

Helper method for COM clients to set the background color for the specified control.

public static void SetBackColor(XRControl control,
    int argb);

public static void SetBackColor(XRControlStyle style,
    int argb);

public static void SetBackColor(ReportField field,
    int argb);

SetBorderColor

Helper method for COM clients to set the border color for the specified control.

public static void SetBorderColor(XRControl control,
    int argb);

SetEndPointF

Helper method for COM clients to set the EndPointF property of the specified control.

public static void SetEndPointF(XRCrossBandControl control,
    double x,
    double y);

SetFillColor

Helper method for COM clients to set the fill color for the specified control.

public static void SetFillColor(XRShape control,
    int argb);

SetForeColor

Helper method for COM clients to set the foreground color for the specified control.

public static void SetForeColor(XRControl control,
    int argb);

public static void SetForeColor(XRControlStyle style,
    int argb);

public static void SetForeColor(ReportField field,
    int argb);

SetLocationFloat

Helper method for COM clients to set the LocationFloat property of the specified control.

public static void SetLocationFloat(XRControl control,
    double x,
    double y);

SetObjectColor

Helper method for COM clients to set the specified property to the specified color.

public static void SetObjectColor(object item,
    string property,
    int argb);

SetPadding

Helper method for COM clients to set the padding for the specified control.

public static void SetPadding(XRControl control,
    int left,
    int right,
    int top,
    int bottom,
    double dpi);

public static void SetPadding(XRControlStyle style,
    int left,
    int right,
    int top,
    int bottom,
    double dpi);

SetSizeF

Helper method for COM clients to set the SizeF property of the specified control.

public static void SetSizeF(XRControl control,
    double width,
    double height);

SetStartPointF

Helper method for COM clients to set the StartPointF property of the specified control.

public static void SetStartPointF(XRCrossBandControl control,
    double x,
    double y);

Requirements

Namespace: Stonefield.Query.ReportEngine
Assembly: reports.dll