Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

issue #58 #59

Merged
merged 1 commit into from
Jan 20, 2016
Merged

issue #58 #59

merged 1 commit into from
Jan 20, 2016

Conversation

dgofman
Copy link
Contributor

@dgofman dgofman commented Jan 16, 2016

No description provided.

@dgofman
Copy link
Contributor Author

dgofman commented Jan 16, 2016

image

@dgofman dgofman mentioned this pull request Jan 16, 2016
@dgofman
Copy link
Contributor Author

dgofman commented Jan 16, 2016

Four options how to embed images:

//Absolute position near D3
ws.Image('sampleFiles/image1.png', ws.Image.ABSOLUTE).Position(218, 400).Size(255, 50); //arguments: y-pixels, x-pixels

//A3
ws.Image('sampleFiles/image1.png', ws.Image.ONE_CELL).Position(3, 1, 10, 40).Size(255, 50); //arguments: row, column, {offsetY, offsetX} (in pixels optional)

//A1-F2
ws.Image('sampleFiles/image1.png', ws.Image.TWO_CELL).Position(1, 1, 2, 6, 2, 5); //arguments: begin-row, begin-column, end-row, end-column, {offsetY, offsetX} (in pixels - optional)

//D5
ws.Image('sampleFiles/image1.png', ws.Image.TWO_CELL).Position(5, 4); //arguments: row, column

@natergj natergj merged commit 65ef7a9 into natergj:master Jan 20, 2016
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants