class OpenCReport\Image { public final set_value( ?string $expr_string = null): ?OpenCReport\Expr; public final get_value(): ?OpenCReport\Expr; public final set_suppress( ?string $expr_string = null): ?OpenCReport\Expr; public final get_suppress(): ?OpenCReport\Expr; public final set_type( ?string $expr_string = null): ?OpenCReport\Expr; public final get_type(): ?OpenCReport\Expr; public final set_width( ?string $expr_string = null): ?OpenCReport\Expr; public final get_width(): ?OpenCReport\Expr; public final set_height( ?string $expr_string = null): ?OpenCReport\Expr; public final get_height(): ?OpenCReport\Expr; public final set_alignment( ?string $expr_string = null): ?OpenCReport\Expr; public final get_alignment(): ?OpenCReport\Expr; public final set_bgcolor( ?string $expr_string = null): ?OpenCReport\Expr; public final get_bgcolor(): ?OpenCReport\Expr; public final set_text_width( ?string $expr_string = null): ?OpenCReport\Expr; public final get_text_width(): ?OpenCReport\Expr; }
Set the file name of the image.
The file name may be and absolute path,
relative to the work directory of the application,
or relative to any of the paths added with
OpenCReport::add_search_path()
.
(See Section 12.4.10.1.)
public final OpenCReport\Image::set_value( ?string $expr_string = null): ?OpenCReport\Expr; public final OpenCReport\Image::get_value(): ?OpenCReport\Expr;
Set the suppression flag for the image.
The expression must evaluate to a numeric
value that is treated as a boolean, i.e. 0 or non-0.
Default is false
.
public final OpenCReport\Image::set_suppress( ?string $expr_string = null): ?OpenCReport\Expr; public final OpenCReport\Image::get_suppress(): ?OpenCReport\Expr;
Set the image file type. Usually it's auto-detected and not needed.
public final OpenCReport\Image::set_type( ?string $expr_string = null): ?OpenCReport\Expr; public final OpenCReport\Image::get_type(): ?OpenCReport\Expr;
Set the image width. This setting is used when the image element is a direct child of an output section. See Section 8.19.1.4.
public final OpenCReport\Image::set_width( ?string $expr_string = null): ?OpenCReport\Expr; public final OpenCReport\Image::get_width(): ?OpenCReport\Expr;
Set the image height. This setting is used when the image element is a direct child of an output section. See Section 8.19.1.4.
public final OpenCReport\Image::set_height( ?string $expr_string = null): ?OpenCReport\Expr; public final OpenCReport\Image::get_height(): ?OpenCReport\Expr;
Set the image alignment. This setting is used when the image element is a child of a text line. See Section 8.19.1.8.
public final OpenCReport\Image::set_alignment( ?string $expr_string = null): ?OpenCReport\Expr; public final OpenCReport\Image::get_alignment(): ?OpenCReport\Expr;
Set the image background color. This setting is used when the image element is a child of a text line. See Section 8.19.1.7.
public final OpenCReport\Image::set_bgcolor( ?string $expr_string = null): ?OpenCReport\Expr; public final OpenCReport\Image::get_bgcolor(): ?OpenCReport\Expr;
Set the image "text width". This setting is used when the image element is a child of a text line. See Section 8.19.1.6.
public final OpenCReport\Image::set_text_width( ?string $expr_string = null): ?OpenCReport\Expr; public final OpenCReport\Image::get_text_width(): ?OpenCReport\Expr;