Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Position drawing in middle of a cell #1212

Closed
oadaid5 opened this issue Apr 18, 2024 · 2 comments
Closed

Position drawing in middle of a cell #1212

oadaid5 opened this issue Apr 18, 2024 · 2 comments
Labels

Comments

@oadaid5
Copy link

oadaid5 commented Apr 18, 2024

hi folks,
is there a way to set_position for drawing in the middle of cell ?

@sandraros
Copy link
Collaborator

Hi, you may define a little shift. I just added an example how it works in ZDEMO_EXCEL16:
https://github.com/abap2xlsx/demos/blob/0ed3c2e8102892bc6f33d31d3b48c258b639c1af/src/zdemo_excel16.prog.abap#L128-L131

lo_drawing->set_position( ip_from_row = 3
                          ip_from_col = 'B'
                          ip_rowoff   = 85725    " optional little shift
                          ip_coloff   = 47625 ). " optional little shift

image

@oadaid5
Copy link
Author

oadaid5 commented May 11, 2024

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants