I have an NSView in NSScrollView from which I want to create NSImage. Because it is not always fully visible in NSScrollView, and it may even be larger than the screen size. Can someone help me? Thank.
[NSView cacheDisplayInRect: toBitmapImageRep:]
Alternatively, depending on what you need the image for, consider creating a PDF file for viewing .
Source: https://habr.com/ru/post/1772277/More articles:How to call the didSelectRowAtIndexPath method again using the didSelectRowAtIndexPath method - iosOWL: restricting a property value to a numeric string - stringCustom attribute DataTypeAttribute does not start validation correctly - c #IE Document Viewing Border - htmlinsert or update confusion - sqlGoogle App Engine: получить ключ сущности для использования в шаблоне - pythonDo I have to pay an annual fee just to check / deploy my software on my own phone? - windows-phone-7How to bring the application to the forefront after a conversation? - iphoneInitializing an array of unknown size - c ++How to show / hide MarkerCluster in google maps v3? - javascriptAll Articles