As we can see in the following example:ĭocumentOptions.Value(NSAttributedStringMBS.NSCharacterEncodingDocumentOption) = NSUTF8StringEncodingĭim BodyAttributed As New NSAttributedStringMBS
This is especially important for texts with special characters. Such a method already exists in this class,īut with the new method we can additionally specify options like the encoding in the parameters. This way we can very elegantly extract the body text from an HTML. With the method initWithHTML from the class We have two new methods from the Cocoa area. What the maximum zoomfactor is and we can query which minimum and maximum zoomfactor is possible.įurthermore we can query with isRampingVideoZoom whether a zoom transition is in progress. So we can now query the zoomfactor of the video, The reverse method is rectForMetadataOutputRectOfInterest.Ĭlass we also have a few new properties that affect the zoom in the video. Space of an AVCaptureMetadataOutput whose capture device provides input to the layer to a rectangle in layer coordinates.
The rectForMetadataOutputRectOfInterest method converts a rectangle of interest in the coordinate We have also developed similar methods for the metadata. We have the reverse method pointForCaptureDevicePointOfInterest. Point of interest in the coordinate space of the capture device that provides the input for the layer. The captureDevicePointOfInterestForPoint method converts a point in layer coordinates to a
#Mbs xojo plugins for mac#
The MBS Xojo Plugins in version 22.2 offers some more new features for Mac users AV CaptureĬlass, we have four new methods that are all about points of interest in videos. If we want to read the tags in a specific section we can define this section with OpenMarker and CloseMarker. Returns a list of all tags of a Word file or of a certain area of the document. The new method Tags from the class WordFileMBS We have in each one a method SQLiteConnectionHandle that gives us also this information. Which returns the current connection reference for the database. SQLĬlass we have the new ConnectionHandle property, Isochronous transfers are used for real-time transfer of e.g. This class describes an isochronous packet descriptor. In connection with this we have the new class LibUSBISOPacketDescriptorMBS. The user populates this class and then submits it in order to request a transfer.Īfter the transfer has completed, the library populates the transfer with the results and passes it back to the user. With the class LibUSBTransferMBS we have a class for the asynchronous USB transfer. In the topic USB we have two new classes. ZStandard is characterized by being efficient and leak-free. Testing ?"ĭim Compressed As String = ZStdMBS.Compress(InputText)ĭim OutputText As String = ZStdMBS.Decompress(Compressed).DefineEncoding(encodings.UTF8) You can compress and decompress strings and memory blocks with a ZStandard algorithm.ĭim InputText As String = "Hello World. With the new ZStdMBS class from the topic Compression we have now a class for the ZStandard compression. If you want to learn more about the new functionalities, I recommend you to read our blog article New PCRE2 Plugin for Xojo which deals with the topic in more detail. This is now deprecated and is no longer being developed, but remains in the plugin and can be used. In the Regular Expressions topic there are huge changes. In this article I want to introduce you the new functionalities from the MBS Xojo Plugins in version 22.2. News from the MBS Xojo Plugins Version 22.2