Codeunit 3971 "Image"
System Application · System.Utilities
Across versions
- BC23-30present
Neighbourhood 2 connected objects and pages
System Application · System.Utilities · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Public |
Procedures
Clear(Alpha: Integer; Red: Integer; Green: Integer; Blue: Integer): Clears the entire drawing surface and fills it with the specified background color.Clear(Red: Integer; Green: Integer; Blue: Integer): Clears the entire drawing surface and fills it with the specified background color.Crop(X: Integer; Y: Integer; Width: Integer; Height: Integer): Crops the image based on a rectangle specified by the user. The resulting crop will be a hole-cut in the image made by the rectangle.GetFormatAsText(): Text: Gets the image format as a text.GetFormat(): Enum "Image Format": Gets the image format as an Enum “Image Format”.SetFormat(ImageFormat: Enum "Image Format"): Sets the image format from an Enum “Image Format”.FromBase64(Base64Text: Text): Creates an Image from base64 encoding.FromStream(InStream: InStream): Creates an image from the specified data stream.GetWidth(): Integer: Gets the width in pixels.GetHeight(): Integer: Gets the height in pixels.Resize(Width: Integer; Height: Integer): Resizes the Image to the specified size.RotateFlip(RotateFlipType: Enum "Rotate Flip Type"): Rotates, flips, or rotates and flips the image.Save(OutStream: OutStream): Saves the image to the specified stream in the specified format.ToBase64(): Text: Convert the image to a base64 encoded string.GetRotateFlipType(): Enum "Rotate Flip Type": Gets the image rotation flip type.
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 3970 “Image Impl.” (14 calls:
Clear → Clear,Crop → Crop,FromBase64 → FromBase64, …)
Called by
- Codeunit 4112 “Image Helpers” (4 calls:
GetHTMLImgSrc → GetFormatAsText,GetHTMLImgSrc → ToBase64,GetImageType → GetFormatAsText, …)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Image"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.